cairoScaledFontCreate: cairoScaledFontCreate

Description Usage Arguments Value Author(s)

View source: R/cairoFuncs.R

Description

Creates a CairoScaledFont object from a font face and matrices that describe the size of the font and the environment in which it will be used.

Usage

1
cairoScaledFontCreate(font.face, font.matrix, ctm, option)

Arguments

font.face

[CairoFontFace] a CairoFontFace

font.matrix

[CairoMatrix] font space to user space transformation matrix for the font. In the simplest case of a N point font, this matrix is just a scale by N, but it can also be used to shear the font or stretch it unequally along the two axes. See cairoSetFontMatrix.

ctm

[CairoMatrix] user to device transformation matrix with which the font will be used.

option

[CairoFontOptions] options to use when getting metrics for the font and rendering with it.

Value

[CairoScaledFont] a newly created CairoScaledFont.

Author(s)

Derived by RGtkGen from GTK+ documentation


RGtk2 documentation built on Oct. 14, 2021, 5:08 p.m.