API  0.9.10
CGAffineTransform.j File Reference

Go to the source code of this file.

Typedefs

typedef CGAffineTransform function CGAffineTransformMake(a, b, c, d, tx, ty)
 

Functions

function CGAffineTransformConcat (lhs, rhs)
 
function CGAffineTransformConcatTo (lhs, rhs, to)
 
function CGAffineTransformEqualToTransform (lhs, rhs)
 
function CGAffineTransformInvert (aTransform)
 
function CGAffineTransformIsIdentity (aTransform)
 
function CGAffineTransformMakeCopy (anAffineTransform)
 
function CGAffineTransformMakeIdentity ()
 
function CGAffineTransformMakeRotation (anAngle)
 
function CGAffineTransformMakeScale (sx, sy)
 
function CGAffineTransformMakeTranslation (tx, ty)
 
function CGAffineTransformRotate (aTransform, anAngle)
 
function CGAffineTransformScale (aTransform, sx, sy)
 
function CGAffineTransformTranslate (aTransform, tx, ty)
 
function CGPointApplyAffineTransform (aPoint, aTransform)
 
function CGRectApplyAffineTransform (aRect, anAffineTransform)
 
function CGSizeApplyAffineTransform (aSize, aTransform)
 
function CGStringCreateWithCGAffineTransform (aTransform)
 
function CPStringFromCGAffineTransform (anAffineTransform)
 

Variables

 CGAffineTransformCreateCopy = CGAffineTransformMakeCopy
 

Typedef Documentation

◆ CGAffineTransformMake

typedef CGAffineTransform function CGAffineTransformMake(a, b, c, d, tx, ty)

Definition at line 27 of file CGAffineTransform.j.

Function Documentation

◆ CGAffineTransformConcat()

function CGAffineTransformConcat ( lhs  ,
rhs   
)

Definition at line 63 of file CGAffineTransform.j.

◆ CGAffineTransformConcatTo()

function CGAffineTransformConcatTo ( lhs  ,
rhs  ,
to   
)

Definition at line 68 of file CGAffineTransform.j.

◆ CGAffineTransformEqualToTransform()

function CGAffineTransformEqualToTransform ( lhs  ,
rhs   
)

Definition at line 108 of file CGAffineTransform.j.

◆ CGAffineTransformInvert()

function CGAffineTransformInvert ( aTransform  )

Inverts a transform.

Parameters
aTransformthe transform to invert
Returns
CGAffineTransform an inverted transform CGAffineTransform

Definition at line 176 of file CGAffineTransform.j.

◆ CGAffineTransformIsIdentity()

function CGAffineTransformIsIdentity ( aTransform  )

Definition at line 98 of file CGAffineTransform.j.

◆ CGAffineTransformMakeCopy()

function CGAffineTransformMakeCopy ( anAffineTransform  )

Definition at line 37 of file CGAffineTransform.j.

◆ CGAffineTransformMakeIdentity()

function CGAffineTransformMakeIdentity ( )

Definition at line 32 of file CGAffineTransform.j.

◆ CGAffineTransformMakeRotation()

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 140 of file CGAffineTransform.j.

◆ CGAffineTransformMakeScale()

function CGAffineTransformMakeScale ( sx  ,
sy   
)

Definition at line 42 of file CGAffineTransform.j.

◆ CGAffineTransformMakeTranslation()

function CGAffineTransformMakeTranslation ( tx  ,
ty   
)

Definition at line 47 of file CGAffineTransform.j.

◆ CGAffineTransformRotate()

function CGAffineTransformRotate ( aTransform  ,
anAngle   
)

Rotates a transform.

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

Definition at line 155 of file CGAffineTransform.j.

◆ CGAffineTransformScale()

function CGAffineTransformScale ( aTransform  ,
sx  ,
sy   
)

Definition at line 57 of file CGAffineTransform.j.

◆ CGAffineTransformTranslate()

function CGAffineTransformTranslate ( aTransform  ,
tx  ,
ty   
)

Definition at line 52 of file CGAffineTransform.j.

◆ CGPointApplyAffineTransform()

function CGPointApplyAffineTransform ( aPoint  ,
aTransform   
)

Definition at line 85 of file CGAffineTransform.j.

◆ 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.

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

Definition at line 198 of file CGAffineTransform.j.

◆ CGSizeApplyAffineTransform()

function CGSizeApplyAffineTransform ( aSize  ,
aTransform   
)

Definition at line 91 of file CGAffineTransform.j.

◆ CGStringCreateWithCGAffineTransform()

function CGStringCreateWithCGAffineTransform ( aTransform  )

Definition at line 119 of file CGAffineTransform.j.

◆ CPStringFromCGAffineTransform()

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 222 of file CGAffineTransform.j.

Variable Documentation

◆ CGAffineTransformCreateCopy

CGAffineTransformCreateCopy = CGAffineTransformMakeCopy

Definition at line 130 of file CGAffineTransform.j.