Package: gdk

Accessor gdk:monitor-scale

Lambda List

gdk:monitor-scale (object)

Syntax

(gdk:monitor-scale object) => scale

Arguments

object -- a gdk:monitor object
scale -- a double float with the scale

Details

Gets the internal scale factor that maps from monitor coordinates to device pixels. This can be used if you want to create pixel based data for a particular monitor, but most of the time you are drawing to a surface where it is better to use the gdk:surface-scale function instead.

Since 4.14
 

See also

2024-5-26