Learn R Programming

RGtk2 (version 2.8.7)

cairoSurfaceSetUserData: cairoSurfaceSetUserData

Description

Attach user data to surface. To remove user data from a surface, call this function with the key that was used to set it and NULL for data.

Usage

cairoSurfaceSetUserData(surface, key, user.data)

Arguments

Value

[CairoStatus] CAIRO_STATUS_SUCCESS or CAIRO_STATUS_NO_MEMORY if a slot could not be allocated for the user data.