Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

cairoToyFontFaceCreate

cairoToyFontFaceCreate


Description

Creates a font face from a triplet of family, slant, and weight. These font faces are used in implementation of the the Cairo "toy" font API.

Usage

cairoToyFontFaceCreate(family, slant, weight)

Arguments

family

[char] a font family name, encoded in UTF-8

slant

[CairoFontSlant] the slant for the font

weight

[CairoFontWeight] the weight for the font

Details

If family is the zero-length string "", the platform-specific default family is assumed. The default family then can be queried using cairoToyFontFaceGetFamily.

The cairoSelectFontFace function uses this to create font faces. See that function for limitations of toy font faces. Since 1.8

Value

[CairoFontFace] a newly created CairoFontFace.

Author(s)

Derived by RGtkGen from GTK+ documentation


RGtk2

R Bindings for Gtk 2.8.0 and Above

v2.20.36
GPL
Authors
Michael Lawrence <michafla@gene.com> and Duncan Temple Lang <duncan@wald.ucdavis.edu>
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.