cairoSurfaceSetUserData: cairoSurfaceSetUserData

Description Usage Arguments Value Author(s)

View source: R/cairoFuncs.R

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

1
cairoSurfaceSetUserData(surface, key, user.data)

Arguments

surface

[CairoSurface] a CairoSurface

key

[CairoUserDataKey] the a CairoUserDataKey to attach the user data to

user.data

[R object] the user data to attach to the surface

Value

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

Author(s)

Derived by RGtkGen from GTK+ documentation


RGtk2 documentation built on Oct. 14, 2021, 5:08 p.m.