Adobe.com
Contents Suites Classes Class Index Member Index

MatrixTform Struct Reference

This structure describes a transformation, in "descriptive" form and matrix form. More...

#include <AITransformTypes.h>

List of all members.

Public Attributes

AIRealMatrix matrix
AIRealPoint origin
bool originInMatrix
 True if the origin is incorporated into the matrix, and points can be transformed by the matrix directly.
TransformType type
TransformUnion tu

Detailed Description

This structure describes a transformation, in "descriptive" form and matrix form.

If originInMatrix is true, the origin is incorporated into the matrix, and points can be transformed by the matrix directly. If not, the matrix represents a transformation around (0,0), and to transform points, they must first be translated by -origin, then transformed by the matrix, then translated back by +origin.

Some transformations cannot be represented with the origin in the matrix because they would get fixed point overflow in the h and v components; for example, scaling by any factor over 8 around an origin near the center of the screen.

The TransformUnion struct is sometimes a more convenient description for transforming patterns, gradients, text anchors, and graph elements. If type is compoundTransformType, though, only tu.sca.strokeStyle is looked at if tu.sca.doLines is true.


Member Data Documentation

True if the origin is incorporated into the matrix, and points can be transformed by the matrix directly.


The documentation for this struct was generated from the following file:


Contents Suites Classes Class Index Member Index
Adobe Solutions Network
 
Copyright © 2016 Adobe Systems Incorporated. All rights reserved.
Terms of Use Online Privacy Policy Adobe and accessibility Avoid software piracy Permissions and Trademarks