Описание тега cgaffinetransform
The CGAffineTransform data structure represents a matrix used for affine transformations. A transformation specifies how points in one coordinate system map to points in another coordinate system. An affine transformation is a special type of mapping that preserves parallel lines in a path but does not necessarily preserve lengths or angles. Scaling, rotation, and translation are the most commonly used manipulations supported by affine transforms, but skewing is also possible.
Quartz provides functions that create, concatenate, and apply affine transformations using the CGAffineTransform data structure. For information on how to use affine transformation functions, see Quartz 2D Programming Guide.
You typically do not need to create an affine transform directly— CGContext Reference describes functions that modify the current affine transform. If you don’t plan to reuse an affine transform, you may want to use CGContextScaleCTM, CGContextRotateCTM, CGContextTranslateCTM, or CGContextConcatCTM.
Functions
Creating an Affine Transformation Matrix
CGAffineTransformMakeTranslation
Modifying Affine Transformations
Applying Affine Transformations
Evaluating Affine Transforms
CGAffineTransformEqualToTransform
Data Types
Constants