Package: gdk
Function gdk-screen-monitor-scale-factor
Lambda Listgdk-screen-monitor-scale-factor (screen num) ArgumentsReturn ValueAn integer with the scale factor. Details
Returns the internal scale factor that maps from monitor coordiantes 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 particula monitor, but most of the time you are drawing to a window where it is better to use the gdk-window-scale-factor function instead. Warning | See also |
2021-12-13