AppKit/CoreGraphics/CGAffineTransform.j File Reference

#include "CGGeometry.h"
#include "CGAffineTransform.h"

Go to the source code of this file.

Functions

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

Variables

import CGGeometry j sy tx


Function Documentation

function CGAffineTransformInvert ( aTransform   ) 

Inverts a transform.

Parameters:
aTransform the transform to invert
Returns:
CGAffineTransform an inverted transform CGAffineTransform

Definition at line 103 of file CGAffineTransform.j.

function CGAffineTransformMakeRotation ( anAngle   ) 

Returns a transform that rotates a coordinate system.

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

Definition at line 67 of file CGAffineTransform.j.

function CGAffineTransformRotate ( aTransform  ,
anAngle   
)

Rotates a transform.

Parameters:
aTransform the transform to rotate
anAngle the amount to rotate in radians
Returns:
void CGAffineTransform

Definition at line 82 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:
aRect the rectangle to transform
anAffineTransform the transform to apply
Returns:
CGRect the new transformed rectangle CGAffineTransform

Definition at line 125 of file CGAffineTransform.j.

function CPStringFromCGAffineTransform ( anAffineTransform   ) 

Creates and returns a string representation of an affine transform.

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

Definition at line 149 of file CGAffineTransform.j.


Variable Documentation

import CGGeometry j sy tx

Definition at line 37 of file CGAffineTransform.j.


Generated on Wed May 20 12:43:58 2009 for Cappuccino by  doxygen 1.5.8