cairo-cairo-font-face-t {RGtk2} | R Documentation |
Base class for fonts
cairoFontFaceStatus(font.face)
cairoFontFaceGetType(font.face)
cairoFontFaceSetUserData(font.face, key, user.data)
cairoFontFaceGetUserData(font.face, key)
CairoFontFace
CairoFontFace
specifies all aspects of a font other
than the size or font matrix (a font matrix is used to distort
a font by sheering it or scaling it unequally in the two
directions) . A font face can be set on a Cairo
by using
cairoSetFontFace
; the size and font matrix are set with
cairoSetFontSize
and cairoSetFontMatrix
.
There are various types of font faces, depending on the
font backend they use. The type of a
font face can be queried using cairoFontFaceGetType
.
Memory management of CairoFontFace
is done with
cairoFontFaceReference()
and cairoFontFaceDestroy()
.
CairoFontType
CairoFontType
is used to describe the type of a given font
face or scaled font. The font types are also known as "font
backends" within cairo.
The type of a font face is determined by the function used to
create it, which will generally be of the form
cairo_type_font_face_create. The font face type can be queried
with cairoFontFaceGetType
The various cairo_font_face functions can be used with a font face of any type.
The type of a scaled font is determined by the type of the font
face passed to cairo_scaled_font_create. The scaled font type can
be queried with cairoScaledFontGetType
The various cairo_scaled_font functions can be used with scaled fonts of any type, but some font backends also provide type-specific functions that must only be called with a scaled font of the appropriate type. These functions have names that begin with cairo_type_scaled_font such as cairo_ft_scaled_font_lock_face.
The behavior of calling a type-specific function with a scaled font of the wrong type is undefined.
New entries may be added in future versions.
Since 1.2
toy
ft
win32
atsui
Derived by RGtkGen from GTK+ documentation
http://www.cairographics.org/manual/cairo-cairo-font-face-t.html