Important: The information in this document is obsolete and should not be used for new development.
|
|
Log In | Not a Member? |
Contact ADC |
ColorToFract
You can use theColorToFractmacro to convert a gxColorValue number to afractnumber.
#define ColorToFract(a) (((fract)(a)<<14) + ((fract)(a) +2 >>2))
a- A gxColorValue number to be converted to a
fractnumber.- macro result
- A
fract number having the same value as thegxColorValue number.
Get information on Apple products.
Visit the Apple Store online or at retail locations. 1-800-MY-APPLE Copyright © 2007 Apple Inc. All rights reserved. | Terms of use | Privacy Notice |