cairoScaledFontSetUserData {RGtk2}R Documentation

cairoScaledFontSetUserData

Description

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

Usage

cairoScaledFontSetUserData(scaled.font, key, user.data)

Arguments

scaled.font [CairoScaledFont] a CairoScaledFont
key [CairoUserDataKey] the a CairoUserDataKey to attach the user data to
user.data [R object] the user data to attach to the CairoScaledFont

Details

Since 1.4

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


[Package RGtk2 version 2.12.5-3 Index]