DrawPix Function (ROM Call 0x1A8)

graph.h

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

Draws a pixel.

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

A_NORMALDraw a pixel
A_REVERSEErase a pixel
A_XORInvert 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