[ Version ( deprecated = true , deprecated_since = "3.22" , since = "3.10" ) ]
public int get_monitor_scale_factor (int monitor_num)
Warning: get_monitor_scale_factor is deprecated since 3.22.
Returns the internal scale factor that maps from monitor coordinates to the actual device pixels.
Use get_scale_factor instead
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’re drawing to a window where it is better to use get_scale_factor instead.
this |
screen to get scale factor for |
monitor_num |
number of the monitor, between 0 and gdk_screen_get_n_monitors (screen) |
the scale factor |