Surface.getUserData

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

class Surface
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.