Important: The information in this document is obsolete and should not be used for new development.
ColorBit
Use theColorBit
procedure to set the foreground color for all printing in the current graphics port.
PROCEDURE ColorBit (whichBit: Integer);
whichBit
- An integer specifying the plane to draw into.
DESCRIPTION
TheColorBit
procedure is called by printing software for a color printer (or other color-imaging software) to set theGrafPort
record'scolorBit
field to the value in thewhichBit
parameter. This value tells QuickDraw which plane of the color picture to draw into. QuickDraw draws into the plane corresponding to the bit number specified by thewhichBit
parameter. Since QuickDraw can support output devices that have up to 32 bits of color information per pixel, the possible range of values forwhichBit
is 0 through 31. The initial value of thecolorBit
field is 0.