| WinPixGet | Function (ROM Call 0x1F)

wingraph.h

short WinPixGet (WINDOW *w, short x, short y);

Gets the status of a pixel in a window.

WinPixGet gets the status of the pixel located at (x, y), where coordinates are relative to the topleft corner of the window. Returns TRUE or FALSE depending of whether corresponding pixel is set or reset. Also returns FALSE if coordinates are outside current window.

Uses: GetPix, PortRestore, ROM Call 0x413
Used by: push_pttest, push_pxltest, GD_Pen