VgaGames4 - image man-pages

[.. upper level ..]

vg4->image->getpoint()

Get a pixel of an image.

SYNTAX
struct VG_PixelColor vg4->image->getpoint(struct VG_Image *imgp, int xp, int yp)

FUNCTION PARAMETERS
imgp Image
xp x-coordinate of the pixel
yp y-coordinate of the pixel

RETURN VALUE
Returns the pixel

DESCRIPTION
Get a pixel of an image. If there is no pixel (passing invalid parameters), the returned pixel values will be 0.