dxGraphicsHeight%()

Parameters

None

Description

This command will tell you the height, in pixels, of the current graphics mode.

Example

; dxGraphicsWidth(), dxGraphicsHeight(), dxGraphicsDepth(), dxGraphicsBuffer() example

; Set a graphics mode and buffer
Graphics 640,480,16
dxSetBuffer dxFrontBuffer()

; dxPrint the details
dxPrint "Screen width is: " + dxGraphicsWidth()
dxPrint "Screen height is: " + dxGraphicsHeight()
dxPrint "Screen dxColor depth is: " + dxGraphicsDepth()
dxPrint "Current buffer handle is: " + dxGraphicsBuffer()

; Wait for ESC before exiting
While Not dxKeyHit(1)
Wend

Index