Important: The information in this document is obsolete and should not be used for new development.
OpColor
Use theOpColorprocedure to set the maximum color values for theaddPinandsubPinarithmetic transfer modes, and the weight color for theblendarithmetic transfer mode.
PROCEDURE OpColor (color: RGBColor);
color- An
RGBColorrecord that defines a color.DESCRIPTION
If the current port is defined by aCGrafPortrecord, theOpColorprocedure sets the red, green, and blue values used by theaddPin,subPin, andblendarithmetic transfer modes. You specify these red, green, and blue values in theRGBColorrecord, and you specify this record in thecolorparameter. This information is actually stored in thergbOpColorfield of theGrafVarsrecord, but you should never need to refer to it directly.If the current graphics port is defined by a
GrafPortrecord,OpColorhas no effect.SEE ALSO
Arithmetic transfer modes are described in "Arithmetic Transfer Modes" beginning on page 4-29.