There are some additional functions that those bitmaps relative operations should follow up.
<quote>
Hi-DPI for developers
GTK+ makes hi-dpi work transparently in most places, but sometimes it may be necessary to do some extra work for best results. Here are some APIs to learn about the scale factor:
Similarly, Clutter tries to automatically handle the scaling factor on each drawing surface, but it provides explicit API to retrieve and set the scaling factor:
There are some additional functions that those bitmaps relative operations should follow up.
<quote>
Hi-DPI for developers
GTK+ makes hi-dpi work transparently in most places, but sometimes it may be necessary to do some extra work for best results. Here are some APIs to learn about the scale factor:
gdk_screen_ get_monitor_ scale_factor get_scale_ factor get_scale_ factor
gdk_window_
gtk_widget_
Similarly, Clutter tries to automatically handle the scaling factor on each drawing surface, but it provides explicit API to retrieve and set the scaling factor:
ClutterSettings :window- scaling- factor canvas_ set_scale_ factor canvas_ get_scale_ factor
clutter_
clutter_
</quote>
Excerpt from https:/ /wiki.gnome. org/HowDoI/ HiDpi.