Carbon


OpColor

Header: Quickdraw.h Carbon status: Supported

Sets the maximum color values for the addPin and subPin arithmetic transfer modes and the weight color for the blend arithmetic transfer mode.

void OpColor (
    const RGBColor *color
);
Parameter descriptions
color

An RGBColor structure that defines a color.

DISCUSSION

Specify the red, green, and blue values in the RGBColor structure and specify this structure in the color parameter.

If the current graphics port is defined by a GrafPort structure, OpColor has no effect.

AVAILABILITY

Supported in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.


© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)