Intrinsic-41 Point

Top  Previous  Next

41: Point(X, Y, color);

 

When in a graphics mode, this intrinsic plots a point (pixel) located at the X and Y coordinates. The upper-left corner of the display is coordinate 0,0. X increases to the right, and Y increases downward. The ranges of X, Y, and "color" vary with the video mode (see 45: SetVid). If the mode has 16 colors, they are the foreground colors shown for the Attrib intrinsic (69). If bit seven of "color" is set, the low four bits of "color" are exclusive-ORed with the pixel on the screen. (Controlling Screen Refresh can speed up this intrinsic. See the Console Refresh section for more information.)