Important: The information in this document is obsolete and should not be used for new development.
The Mapping Structure
QuickDraw GX defines a transformation matrix with thegxMapping
structure:
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
Fixed
numbers whose values determine the translation, scaling, rotation, skewing, and perspective operations that can be applied to two-dimensional data. Although defined as containing onlyFixed
numbers, the rightmost column of the matrix consists offract
numbers. Furthermore, element[3][3]
is commonly set tofract1
.