Important: The information in this document is obsolete and should not be used for new development.
SmallFract Type
TheSmallFracttype is derived from the low-order word of a fixed integer. The Color Picker Manager usesSmallFractvalues to save memory and to be compatible with the Color QuickDrawRGBColorstructure. You can use theFix2SmallFractfunction (page 2-56) to convert a fixed integer to aSmallFractvalue. You can use theSmallFract2Fixfunction (page 2-56) to convert aSmallFractvalue to a fixed integer.
typedef unsigned short SmallFract;/* unsigned fraction between 0 and 1 */ enum {MaxSmallFract = 0x0000FFFF};/* maximum small fract value, as long */