Syntax
GtInfo( GTI_PIXELDENSITY ) --> nDensityArguments
GTI_PIXELDENSITY
The selector, from gtinfo.ch.
Return value
GTI_OUTPUTWIDTH divided by GTI_WINDOWWIDTH, for example 2.0 on a Retina display. GTWVT returns 1.0.
Description
It shows how many real pixels the system draws for one unit of the window size.
Notes
Supported by GTWVT, GTSDL3, GTXWC and GTGLFW. On other terminals the result is NIL.
Header
gtinfo.ch
Output