VgaGames4

VgaGames4 - window man-pages

[.. upper level ..]

# vg4->window->getpoint()

Get a pixel of the window.

SYNTAX
struct VG_PixelColor vg4->window->getpoint(int xp, int yp)
FUNCTION PARAMETERS

xp | x-coordinate of the pixel
yp | y-coordinate of the pixel

RETURN VALUE
Returns the pixel
DESCRIPTION
Get a pixel of the window. If there is no pixel (passing invalid parameters), the returned pixel values will be 0.