The Fixed type is a 32-bit quantity representing a rational number with the high (low on little-endian machines) 16 bits representing the number's mantissa and the low (high) 16 bits representing the fractional part.
Copy Code
|
|
---|---|
typedef LONG AT_PDF_FIXED; typedef AT_PDF_FIXED FAR *LPAT_PDF_FIXED; |
The definition is platform-dependent. Addition, subtraction, and negation with AT_PDF_FIXED types can be done with + and -, unless you care about overflow. Overflow in Fixed-value operations is indicated by the values IG_PDF_FIXED_POSITIVE_INFINITY and IG_PDF_FIXED_NEGATIVE_INFINITY.