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

pangoCairoContextSetResolution

pangoCairoContextSetResolution


Description

Sets the resolution for the context. This is a scale factor between points specified in a PangoFontDescription and Cairo units. The default value is 96, meaning that a 10 point font will be 13 units high. (10 * 96. / 72. = 13.3).

Usage

pangoCairoContextSetResolution(context, dpi)

Arguments

context

[PangoContext] a PangoContext, from a pangocairo font map

dpi

[numeric] the resolution in "dots per inch". (Physical inches aren't actually involved; the terminology is conventional.) A 0 or negative value means to use the resolution from the font map.

Details

Since 1.10

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.