| DrawPix | Function (ROM Call 0x1A8)

graph.h

void DrawPix (short x, short y, short Attr);

Draws a pixel.

DrawPix draws a pixel at (x, y), using the attribute Attr. The following attributes are supported:

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

See SetCurAttr command for a more general info about attributes.

Used by: DrawClipEllipse, DrawClipPix, DrawIcon, MenuKey, MenuOff, MenuOn, MenuTopRedef, MenuTopSelect, WinPixSet, ROM Call 0x421