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

cairoSetFontSize

cairoSetFontSize


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

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

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.