Carbon


SmallFract

Header: ColorPicker.h

typedef UInt16 SmallFract;

The SmallFract type is derived from the low-order word of a fixed integer. The Color Picker Manager uses SmallFract values to save memory and to be compatible with the Color QuickDraw RGBColor structure. You can use the Fix2SmallFract function to convert a fixed integer to a SmallFract value. You can use the SmallFract2Fix function to convert a SmallFract value to a fixed integer.


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