MonobjcMonobjc Documented Class Library
CGAffineTransform Structure
NamespacesMonobjc.ApplicationServicesCGAffineTransform

A structure for holding an affine transformation matrix.

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public struct CGAffineTransform : IEquatable<CGAffineTransform>
Public Structure CGAffineTransform _
	Implements IEquatable(Of CGAffineTransform)
public value class CGAffineTransform : IEquatable<CGAffineTransform>
Members
All MembersConstructorsMethodsFields



IconMemberDescription
CGAffineTransform(Single, Single, Single, Single, Single, Single)
Initializes a new instance of the CGAffineTransform struct.

a
The entry at position [1,1] in the matrix.

b
The entry at position [1,2] in the matrix.

c
The entry at position [2,1] in the matrix.

CGAffineTransformIdentity()()()()

The identity transform.

Original signature is : const CGAffineTransform CGAffineTransformIdentity;


CGPointApplyAffineTransform(CGPoint, CGAffineTransform)

Returns the point resulting from an affine transformation of an existing point.

Original signature is : CGPoint CGPointApplyAffineTransform ( CGPoint point, CGAffineTransform t );

Available in Mac OS X version 10.0 and later.


CGRectApplyAffineTransform(CGRect, CGAffineTransform)

Applies an affine transform to a rectangle.

Original signature is : CGRect CGRectApplyAffineTransform ( CGRect rect, CGAffineTransform t );

Available in Mac OS X v10.4 and later.


CGSizeApplyAffineTransform(CGSize, CGAffineTransform)

Returns the height and width resulting from a transformation of an existing height and width.

Original signature is : CGSize CGSizeApplyAffineTransform ( CGSize size, CGAffineTransform t );

Available in Mac OS X version 10.0 and later.


Concat(CGAffineTransform, CGAffineTransform)

Returns an affine transformation matrix constructed by combining two existing affine transforms.

Original signature is : CGAffineTransform CGAffineTransformConcat ( CGAffineTransform t1, CGAffineTransform t2 );

Available in Mac OS X version 10.0 and later.


d
The entry at position [2,2] in the matrix.

Equality(CGAffineTransform, CGAffineTransform)
Implements the operator ==.

Equals(CGAffineTransform)
Equalses the specified cg affine transform.

Equals(Object)
Indicates whether this instance and a specified object are equal.
(Overrides ValueType.Equals(Object).)
EqualToTransform(CGAffineTransform, CGAffineTransform)

Checks whether two affine transforms are equal.

Original signature is : bool CGAffineTransformEqualToTransform ( CGAffineTransform t1, CGAffineTransform t2 );

Available in Mac OS X v10.4 and later.


Finalize()()()()
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
GetHashCode()()()()
Returns the hash code for this instance.
(Overrides ValueType.GetHashCode()()()().)
GetType()()()()
Gets the Type of the current instance.
(Inherited from Object.)
Inequality(CGAffineTransform, CGAffineTransform)
Implements the operator !=.

Invert(CGAffineTransform)

Returns an affine transformation matrix constructed by inverting an existing affine transform.

Original signature is : CGAffineTransform CGAffineTransformInvert ( CGAffineTransform t );

Available in Mac OS X version 10.0 and later.


IsIdentity(CGAffineTransform)

Checks whether an affine transform is the identity transform.

Original signature is : bool CGAffineTransformIsIdentity ( CGAffineTransform t );

Available in Mac OS X v10.4 and later.


Make(Single, Single, Single, Single, Single, Single)

Returns an affine transformation matrix constructed from values you provide.

Original signature is : CGAffineTransform CGAffineTransformMake ( CGFloat a, CGFloat b, CGFloat c, CGFloat d, CGFloat tx, CGFloat ty );

Available in Mac OS X version 10.0 and later.


MakeRotation(Single)

Returns an affine transformation matrix constructed from a rotation value you provide.

Original signature is : CGAffineTransform CGAffineTransformMakeRotation ( CGFloat angle );

Available in Mac OS X version 10.0 and later.


MakeScale(Single, Single)

Returns an affine transformation matrix constructed from scaling values you provide.

Original signature is : CGAffineTransform CGAffineTransformMakeScale ( CGFloat sx, CGFloat sy );

Available in Mac OS X version 10.0 and later.


MakeTranslation(Single, Single)

Returns an affine transformation matrix constructed from translation values you provide.

Original signature is : CGAffineTransform CGAffineTransformMakeTranslation ( CGFloat tx, CGFloat ty );

Available in Mac OS X version 10.0 and later.


MemberwiseClone()()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
Rotate(CGAffineTransform, Single)

Returns an affine transformation matrix constructed by rotating an existing affine transform.

Original signature is : CGAffineTransform CGAffineTransformRotate ( CGAffineTransform t, CGFloat angle );

Available in Mac OS X version 10.0 and later.


Scale(CGAffineTransform, Single, Single)

Returns an affine transformation matrix constructed by scaling an existing affine transform.

Original signature is : CGAffineTransform CGAffineTransformScale ( CGAffineTransform t, CGFloat sx, CGFloat sy );

Available in Mac OS X version 10.0 and later.


ToString()()()()
Returns the fully qualified type name of this instance.
(Inherited from ValueType.)
Translate(CGAffineTransform, Single, Single)

Returns an affine transformation matrix constructed by translating an existing affine transform.

Original signature is : CGAffineTransform CGAffineTransformTranslate ( CGAffineTransform t, CGFloat tx, CGFloat ty );

Available in Mac OS X version 10.0 and later.


tx
The entry at position [3,1] in the matrix.

ty
The entry at position [3,2] in the matrix.

Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)

Assembly: Monobjc.Foundation (Module: Monobjc.Foundation)