Package: gdk
Accessor gdk:monitor-scale-factor
Lambda Listgdk:monitor-scale-factor (object) SyntaxArgumentsDetails Accessor of the scale-factor slot of the gdk:monitor class. The gdk:monitor-scale-factor function gets the internal scale factor
that maps from monitor coordinates to the actual device pixels. On traditional
systems this is 1, but on very high density outputs this can be a higher value
(often 2). 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-factor function instead. | See also |
2023-4-11