API 0.9.5
AppKit/CoreGraphics/CGAffineTransform.j File Reference

Go to the source code of this file.

Functions

function CGAffineTransformInvert (aTransform)
function CGAffineTransformMakeRotation (anAngle)
function CGAffineTransformRotate (aTransform, anAngle)
function CGRectApplyAffineTransform (aRect, anAffineTransform)
function CPStringFromCGAffineTransform (anAffineTransform)

Variables

sy tx

Function Documentation

function CGAffineTransformInvert ( aTransform  )

Inverts a transform.

Parameters:
aTransformthe transform to invert
Returns:
CGAffineTransform an inverted transform CGAffineTransform

Definition at line 99 of file CGAffineTransform.j.

function CGAffineTransformMakeRotation ( anAngle  )

Returns a transform that rotates a coordinate system.

Parameters:
anAnglethe amount in radians for the transform to rotate a coordinate system
Returns:
CGAffineTransform the transform with a specified rotation CGAffineTransform

Definition at line 63 of file CGAffineTransform.j.

function CGAffineTransformRotate ( aTransform  ,
anAngle   
)

Rotates a transform.

Parameters:
aTransformthe transform to rotate
anAnglethe amount to rotate in radians
Returns:
void CGAffineTransform

Definition at line 78 of file CGAffineTransform.j.

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.

Parameters:
aRectthe rectangle to transform
anAffineTransformthe transform to apply
Returns:
CGRect the new transformed rectangle CGAffineTransform

Definition at line 121 of file CGAffineTransform.j.

function CPStringFromCGAffineTransform ( anAffineTransform  )

Creates and returns a string representation of an affine transform.

Parameters:
anAffineTransformthe transform to represent as a string
Returns:
CPString a string describing the transform CGAffineTransform

Definition at line 145 of file CGAffineTransform.j.


Variable Documentation

sy tx

Definition at line 33 of file CGAffineTransform.j.

 All Classes Files Functions Variables Defines