Important: The information in this document is obsolete and should not be used for new development.
|
|
Log In | Not a Member? |
Contact ADC |
The Mapping Structure
QuickDraw GX defines a transformation matrix with thegxMappingstructure:
struct gxMapping { Fixed map[3][3]; };The use of the mapping matrix is described further in the section "Transformation Operations With Mappings" beginning on page 8-12.
Field Description
map- A 3 3 array of
Fixednumbers whose values determine the translation, scaling, rotation, skewing, and perspective operations that can be applied to two-dimensional data. Although defined as containing onlyFixednumbers, the rightmost column of the matrix consists offractnumbers. Furthermore, element[3][3]is commonly set tofract1.
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 |