RGtk2 (version 2.20.31)

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.

Structures

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.

Enums and Flags

References

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