FUNCTIONS GT

GTI_LOGICALWIDTH

Return the width of the logical screen

Syntax

Signature
GtInfo( GTI_LOGICALWIDTH ) --> nPixels

Arguments

GTI_LOGICALWIDTH

The selector, from gtinfo.ch.

Return value

The width in the pixels that the program uses, the same as GTI_SCREENWIDTH.

Description

GfxPrimitive() and the other pixel values of the program count in these pixels. The driver scales them to the display.

Notes

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

Output

See also