class Cairo::UserDataKey
- Cairo::UserDataKey
- Reference
- Object
Overview
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.
Defined in:
cairo/user_data_key.crConstructors
Instance Method Summary
-
#to_unsafe : LibCairo::PUserDataKeyT
Returns the pointer of the underlieing structure.
-
#unused : Int32
Not used.
- #unused=(unused : Int32)
-
#user_data_key : LibCairo::UserDataKeyT
Returns the underlieing structure.