![]() |
Fix2SmallFract |
||||
Header: | ColorPicker.h | Carbon status: | Supported | |
Converts a fixed integer to a SmallFract value.
SmallFract Fix2SmallFract ( Fixed f );
The value of type Fixed to be converted to a SmallFract value.
A SmallFract converted from the fixed integer value specified in the f parameter.
A SmallFract value can represent a value between 0 and 65,535. Introduced by the original Color Picker Package, SmallFract values are used in CMYColor, HSLColor, and HSVColor structures. They can be assigned directly to and from integers.
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)