set_resolution


Description:

[ Version ( deprecated = true , deprecated_since = "1.4" , since = "0.4" ) ]
public void set_resolution (double dpi)

Warning: set_resolution is deprecated since 1.4.

Sets the resolution for font handling on the screen.

Note:

Use font_dpi instead

This is a scale factor between points specified in a FontDescription and cairo units. The default value is 96, meaning that a 10 point font will be 13 units high. (10 * 96. / 72. = 13.3).

Applications should never need to call this function.

Parameters:

this

a Backend

dpi

the resolution in "dots per inch" (Physical inches aren't actually involved; the terminology is conventional).