Learn R Programming

RGtk2 (version 2.20.1)

cairo-font-face: cairo_font_face_t

Description

Base class for font faces

Arguments

Methods and Functions

cairoFontFaceStatus(font.face) cairoFontFaceGetType(font.face) cairoFontFaceSetUserData(font.face, key, user.data) cairoFontFaceGetUserData(font.face, key) cairoFontFace(family, slant, weight)

Detailed Description

CairoFontFace represents a particular font at a particular weight, slant, and other characteristic but no size, transformation, or size. Font faces are created using font-backend-specific constructors, typically of the form cairo_backendfontFaceCreate(), or implicitly using the toy text API by way of cairoSelectFontFace. The resulting face can be accessed using cairoGetFontFace.

Convenient Construction

cairoFontFace is the result of collapsing the constructors of cairo_font_face_t (cairoToyFontFaceCreate, cairoUserFontFaceCreate) and accepts a subset of its arguments matching the required arguments of one of its delegate constructors.

References

http://www.cairographics.org/manual/cairo-font-face.html