Method

GdkScreenset_resolution

since: 2.10

Declaration [src]

void
gdk_screen_set_resolution (
  GdkScreen* screen,
  gdouble dpi
)

Description [src]

Sets the resolution for font handling on the screen. 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).

Available since: 2.10

Sets propertyGdk.Screen:resolution

Parameters

dpi

Type: gdouble

The resolution in “dots per inch”. (Physical inches aren’t actually involved; the terminology is conventional.)