gimp-get-monitor-resolution

Spencer Kimball & Peter Mattis

Description

Get the monitor resolution as specified in the Preferences.

Help

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.


Type

unknown

Parameters

None

Return

Type Name Description
PF_FLOAT xres X resolution
PF_FLOAT yres Y resolution