CGAffineTransform


Function Summary
voidCGAffineTransformCreateCopy(aTransform)
          FIXME: !!!!.
CGAffineTransformCGAffineTransformMakeRotation(anAngle)
          Returns a transform that rotates a coordinate system.
voidCGAffineTransformRotate(aTransform, anAngle)
          Rotates a transform.
CGAffineTransformCGAffineTransformInvert(aTransform)
          Inverts a transform.
CGRectCGRectApplyAffineTransform(aRect, anAffineTransform)
          Applies a transform to the rectangle's points.
CPStringCPStringFromCGAffineTransform(anAffineTransform)
          Creates and returns a string representation of an affine transform.

Function Detail

CGAffineTransformCreateCopy

function CGAffineTransformCreateCopy(aTransform)
FIXME: !!!!
Arguments
aTransform

CGAffineTransformMakeRotation

function CGAffineTransformMakeRotation(anAngle)
Returns a transform that rotates a coordinate system.
Arguments
anAngle - the amount in radians for the transform to rotate a coordinate system
Returns:
the transform with a specified rotation

CGAffineTransformRotate

function CGAffineTransformRotate(aTransform, anAngle)
Rotates a transform.
Arguments
aTransform - the transform to rotate
anAngle - the amount to rotate in radians

CGAffineTransformInvert

function CGAffineTransformInvert(aTransform)
Inverts a transform.
Arguments
aTransform - the transform to invert
Returns:
an inverted transform

CGRectApplyAffineTransform

function CGRectApplyAffineTransform(aRect, anAffineTransform)
Applies a transform to the rectangle's points. The transformed rectangle will be the smallest box that contains the transformed points.
Arguments
aRect - the rectangle to transform
anAffineTransform - the transform to apply
Returns:
the new transformed rectangle

CPStringFromCGAffineTransform

function CPStringFromCGAffineTransform(anAffineTransform)
Creates and returns a string representation of an affine transform.
Arguments
anAffineTransform - the transform to represent as a string
Returns:
a string describing the transform