class

Cairo::UserDataKey

Inherits Reference / Object

UserDataKey is used for attaching user data to cairo data structures. The actual contents of the struct is never used, and there is no need to initialize the object; only the unique address of a UserDataKey object is used. Typically, you would just use the address of a static UserDataKey object.

Constructors

new(unused : Int32)
Source
new(key : LibCairo::UserDataKeyT)
Source

Instance methods

to_unsafe

Returns the pointer of the underlieing structure.

Source
unused

Not used.

Source
unused=(unused : Int32)
Source
user_data_key

Returns the underlieing structure.

Source