GraySetAMSPlane Function (Macro)

gray.h

void GraySetAMSPlane (short plane);

Forces graphics routines to use selected plane.

GraySetAMSPlane forces all graphics routines (from graph.h) to draw into the grayscale plane plane (valid values are LIGHT_PLANE and DARK_PLANE). This way you can use standard routines for drawing lines, circles, etc. in grayscale mode as well. In fact, GraySetAMSPlane is a macro which calls GrayGetPlane and PortSet.


Uses: PortSet


Deprecated alias: SetPlane