get_resolution


Description:

public double get_resolution ()

Gets the resolution for font handling on the screen.

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

Clutter will set the resolution using the current backend when initializing; the resolution is also stored in the font_dpi property.

Parameters:

this

a Backend

Returns:

the current resolution, or -1 if no resolution has been set.