FUNCTIONS GT

GTI_DISPLAYSCALE

Return the scale of the display

Syntax

Signature
GtInfo( GTI_DISPLAYSCALE ) --> nScale

Arguments

GTI_DISPLAYSCALE

The selector, from gtinfo.ch.

Return value

The scale set in the system for the monitor of the window, for example 1.5 for 150 %.

Description

GTWVT returns the DPI of the monitor divided by 96.

Notes

Supported by GTWVT, GTSDL3, GTXWC and GTGLFW. On other terminals the result is NIL.

Output

See also