Device.getUserData

Return user data previously attached to device using the specified key. If no user data has been attached with the given key this function returns NULL. Since 1.10

class Device
void*
getUserData

Parameters

key cairo_user_data_key_t*

the address of the cairo_user_data_key_t the user data was attached to

Return Value

Type: void*

the user data previously attached or NULL.