cairoSetFontSize: cairoSetFontSize

Description Usage Arguments Details Author(s)

View source: R/cairoFuncs.R

Description

Sets the current font matrix to a scale by a factor of size, replacing any font matrix previously set with cairoSetFontSize or cairoSetFontMatrix. This results in a font size of size user space units. (More precisely, this matrix will result in the font's em-square being a size by size square in user space.)

Usage

1
cairoSetFontSize(cr, size)

Arguments

cr

[Cairo] a Cairo

size

[numeric] the new font size, in user space units

Details

If text is drawn without a call to cairoSetFontSize, (nor cairoSetFontMatrix nor cairoSetScaledFont), the default font size is 10.0.

Author(s)

Derived by RGtkGen from GTK+ documentation


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