Reads a pixel from the display currently associated with a GrafCon.
Color ReadPixel (Item bitmapItem,GrafCon *gc,Coord x, Coord y)
This call reads a pixel from the display of the specified GrafCon. The x and y coordinates specify the offset into the pixmap of the GrafCon bitmap. The value of the pixel there is read and returned.
This call returns the pixel value at the specified location or an error code (a negative value) if an error occurs.
GRAFERR_COORDRANGE is returned if the specified location is outside the bounds of the specified bitmap.
Folio call implemented in Graphics folio V20.
graphics.h, graphics.lib
GetPixelAddress
()