cairoGetScaledFont {RGtk2} | R Documentation |
Gets the current scaled font for a Cairo
.
cairoGetScaledFont(cr)
|
[Cairo ] a Cairo |
Since 1.4
[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_t object).
Derived by RGtkGen from GTK+ documentation