cairoUserFontFaceCreate: cairoUserFontFaceCreate

Description Usage Details Value Author(s)

View source: R/cairoFuncs.R

Description

Creates a new user font-face.

Usage

1

Details

Use the setter functions to associate callbacks with the returned user font. The only mandatory callback is render_glyph.

After the font-face is created, the user can attach arbitrary data (the actual font data) to it using cairoFontFaceSetUserData and access it from the user-font callbacks by using cairoScaledFontGetFontFace followed by cairoFontFaceGetUserData. Since 1.8

Value

[CairoFontFace] a newly created CairoFontFace.

Author(s)

Derived by RGtkGen from GTK+ documentation


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