Important: The information in this document is obsolete and should not be used for new development.
OpColor
Use theOpColor
procedure to set the maximum color values for theaddPin
andsubPin
arithmetic transfer modes, and the weight color for theblend
arithmetic transfer mode.
PROCEDURE OpColor (color: RGBColor);
color
- An
RGBColor
record that defines a color.DESCRIPTION
If the current port is defined by aCGrafPort
record, theOpColor
procedure sets the red, green, and blue values used by theaddPin
,subPin
, andblend
arithmetic transfer modes. You specify these red, green, and blue values in theRGBColor
record, and you specify this record in thecolor
parameter. This information is actually stored in thergbOpColor
field of theGrafVars
record, but you should never need to refer to it directly.If the current graphics port is defined by a
GrafPort
record,OpColor
has no effect.SEE ALSO
Arithmetic transfer modes are described in "Arithmetic Transfer Modes" beginning on page 4-29.