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

cairoGetScaledFont

cairoGetScaledFont


Description

Gets the current scaled font for a Cairo.

Usage

cairoGetScaledFont(cr)

Arguments

cr

[Cairo] a Cairo

Details

Since 1.4

Value

[CairoScaledFont] the current scaled font. To keep a reference to it, This function never returns NULL. If memory cannot be allocated, a special "nil" CairoScaledFont object will be returned on which cairoScaledFontStatus returns CAIRO_STATUS_NO_MEMORY. Using this nil object will cause its error state to propagate to other objects it is passed to, (for example, calling cairoSetScaledFont with a nil font will trigger an error that will shutdown the Cairo object).

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.