Important: The information in this document is obsolete and should not be used for new development.
FractToColor
You can use theFractToColormacro to convert afractnumber to a gxColorValue number.
#define FractToColor(a) ((gxColorValue)((a)-((a)>>16)+8191>>14))
a- A
fractnumber to be converted to a gxColorValue number.- macro result
- The closest gxColorValue number to the
fractnumber.