| WinPixSet | Function (ROM Call 0x20)

wingraph.h

void WinPixSet (WINDOW *w, short x, short y);

Sets a pixel in a window.

WinPixSet set a pixel at (x, y) in the window pointed to by w using the current window attribute (set using WinAttr). The coordinates are relative to the topleft corner of the window (the pixel will not be drawn if the coordinates are out of the window). The following attributes are supported:

A_NORMAL | Draw a pixel
A_REVERSE | Erase a pixel
A_XOR | Invert a pixel

Uses: DrawPix, PortRestore, ROM Call 0x413
Used by: cmd_newpic, cmd_ptchg, cmd_ptoff, cmd_pton, cmd_pxlchg, cmd_pxloff, cmd_pxlon, GD_Pen, gdb_recall, FuncLineFlt, GrAxes, GrLineFlt