DEMO version ! After registering you will receive a complete version.

Description

Reads value of pixel on position (X,Y). The function returns the value.
In 16 color mode the value ranges from 0 to 15; In 256 color mode from
0 to 255, in 32k color mode from 0 to 32767 and in 64k color mode
from 0 to 65535.
If you try to read the value of an pixel outside the current viewport, the
function returns 0.

This function can be used only if you have set the screen to a graphic mode
using FGLSetMode().


Syntax

FGLGetPixel(< X >,< Y >) -> Value.