RGB2HSV
Converts an RGB color to an HSV color.
pascal void RGB2HSV (const RGBColor *rColor, HSVColor *hColor);
rColor- A pointer to a Color QuickDraw
RGBColorstructure specifying the RGB color to be converted.hColor- A pointer to an
HSVColorstructure (page 2-33). On output, the converted color.DISCUSSION
TheRGB2HSVfunction converts the RGB color specified in therColorparameter to the HSV color pointed to in thehColorparameter.
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help