NSAffineTransform.m

Authors

Ovidiu Predescu( ovidiu@net-community.com )
Richard Frith-Macdonald( richard@brainstorm.co.uk )

Copyright: (C) 1996,1999 Free Software Foundation, Inc.

Software documentation for the NSAffineTransform class

NSAffineTransform : NSObject

Declared: AppKit/NSAffineTransform.h
Conform: NSCopying
Conform: NSCoding

transform

+ (NSAffineTransform*) transform;


appendTransform:

- (void) appendTransform: (NSAffineTransform*)other;


concat

- (void) concat;


initWithTransform:

- (id) initWithTransform: (NSAffineTransform*)aTransform;


invert

- (void) invert;


prependTransform:

- (void) prependTransform: (NSAffineTransform*)other;


rotateByDegrees:

- (void) rotateByDegrees: (float)angle;


rotateByRadians:

- (void) rotateByRadians: (float)angleRad;


scaleBy:

- (void) scaleBy: (float)scale;


scaleXBy:yBy:

- (void) scaleXBy: (float)scaleX yBy: (float)scaleY;


set

- (void) set;


setTransformStruct:

- (void) setTransformStruct: (NSAffineTransformStruct)val;


transformBezierPath:

- (NSBezierPath*) transformBezierPath: (NSBezierPath*)aPath;


transformPoint:

- (NSPoint) transformPoint: (NSPoint)point;


transformSize:

- (NSSize) transformSize: (NSSize)size;


transformStruct

- (NSAffineTransformStruct) transformStruct;


translateXBy:yBy:

- (void) translateXBy: (float)tranX yBy: (float)tranY;


Software documentation for the NSAffineTransform(GNUstep) category

NSAffineTransform(GNUstep)

Declared: AppKit/NSAffineTransform.h

matrixFrom:

+ (NSAffineTransform*) matrixFrom: (const float[6])_matrix;


boundingRectFor:result:

- (void) boundingRectFor: (NSRect)rect result: (NSRect*)new;


concatenateWith:

- (void) concatenateWith: (NSAffineTransform*)other;


concatenateWithMatrix:

- (void) concatenateWithMatrix: (const float[6])concat;


deltaPointInMatrixSpace:

- (NSPoint) deltaPointInMatrixSpace: (NSPoint)point;


getMatrix:

- (void) getMatrix: (float[6])replace;


inverse

- (void) inverse;


isRotated

- (BOOL) isRotated;


makeIdentityMatrix

- (void) makeIdentityMatrix;


pointInMatrixSpace:

- (NSPoint) pointInMatrixSpace: (NSPoint)point;


rectInMatrixSpace:

- (NSRect) rectInMatrixSpace: (NSRect)rect;


rotateByAngle:

- (void) rotateByAngle: (float)angle;


rotationAngle

- (float) rotationAngle;


scaleBy::

- (void) scaleBy: (float)sx : (float)sy;


scaleTo::

- (void) scaleTo: (float)sx : (float)sy;


setFrameOrigin:

- (void) setFrameOrigin: (NSPoint)point;


setFrameRotation:

- (void) setFrameRotation: (float)angle;


setMatrix:

- (void) setMatrix: (const float[6])replace;


sizeInMatrixSpace:

- (NSSize) sizeInMatrixSpace: (NSSize)size;


takeMatrixFromTransform:

- (void) takeMatrixFromTransform: (NSAffineTransform*)other;


translateToPoint:

- (void) translateToPoint: (NSPoint)point;