Carbon


HSVColor

Header: ColorPicker.h

struct HSVColor {
    SmallFract hue; 
    SmallFract saturation; 
    SmallFract value;
};

Field descriptions

hue

The SmallFract value for the hue.

saturation

The SmallFract value for the saturation, where 1 is full color.

value

The SmallFract value for the color’s value, where 1 is maximum intensity.

The HSVColor structure contains the hue, saturation, and value of a color. Your application can use an HSVColor structure to specify a color in a PMColor structure. For example, your application supplies a PMColor structure in a ColorPickerInfo block that it passes to the PickColor function.


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