get_monitor_resolution


Description:


public bool get_monitor_resolution (out double xres, out double yres)

Get the monitor resolution as specified in the Preferences.

Returns the resolution of the monitor in pixels/inch. This value is taken from the Preferences (or the windowing system if this is set in the Preferences) and there's no guarantee for the value to be reasonable.

Parameters:

xres

X resolution.

yres

Y resolution.

Returns:

TRUE on success.


Namespace: Gimp
Package: gimp-3.0