cairoSelectFontFace {RGtk2}R Documentation

cairoSelectFontFace

Description

Selects a family and style of font from a simplified description as a family name, slant and weight. This function is meant to be used only for applications with simple font needs: Cairo doesn't provide for operations such as listing all available fonts on the system, and it is expected that most applications will need to use a more comprehensive font handling and text layout library in addition to cairo.

Usage

cairoSelectFontFace(cr, family, slant, weight)

Arguments

cr [Cairo] a Cairo
family [char] a font family name, encoded in UTF-8
slant [CairoFontSlant] the slant for the font
weight [CairoFontWeight] the weight for the font

Author(s)

Derived by RGtkGen from GTK+ documentation


[Package RGtk2 version 2.12.5-3 Index]