Previous Book Contents Book Index Next

Inside Macintosh: Advanced Color Imaging Reference /
Chapter 2 - Color Picker Manager Reference /
Color Picker Manager Functions / Converting Between SmallFract and Fixed Values


Fix2SmallFract

Converts a fixed integer to a SmallFract value.

pascal SmallFract Fix2SmallFract (Fixed f);
f
The value of type Fixed to be converted to a SmallFract value (page 2-33).
DISCUSSION
The Fix2SmallFract function converts the fixed integer specified in the f parameter into a value of type SmallFract and returns this value as its result.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 NOV 1996