Important: The information in this document is obsolete and should not be used for new development.
ColorBit
Use theColorBitprocedure 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
TheColorBitprocedure is called by printing software for a color printer (or other color-imaging software) to set theGrafPortrecord'scolorBitfield to the value in thewhichBitparameter. 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 thewhichBitparameter. Since QuickDraw can support output devices that have up to 32 bits of color information per pixel, the possible range of values forwhichBitis 0 through 31. The initial value of thecolorBitfield is 0.