Article # 621, added by Geoworks, historical record
| first | previous | index | next | last |

How to use WWFixed (and its ilk) variables



All the mathematical functions for WWFixed are in the graphics.h
header file.  

The following macros are provided to help in manipulating WWFixed
variables:

MakeWWFixed
    Creates a WWFixed structure from a floating point number
    or dword number.

WWFixedToFrac
    Returns the fractional part of a WWFixed.

WWFixedToInt
    Returns the integer part of a WWFixed.