cairoPatternSetUserData {RGtk2} | R Documentation |
Attach user data to pattern
. To remove user data from a surface,
call this function with the key that was used to set it and NULL
for data
.
cairoPatternSetUserData(pattern, key, user.data)
|
[CairoPattern ] a CairoPattern |
|
[CairoUserDataKey ] the a CairoUserDataKey to attach the user data to |
|
[R object] the user data to attach to the CairoPattern |
Since 1.4
[CairoStatus
] CAIRO_STATUS_SUCCESS
or CAIRO_STATUS_NO_MEMORY
if a
slot could not be allocated for the user data.
Derived by RGtkGen from GTK+ documentation