C# Class Monobjc.QuartzCore.CATransform3D

ファイルを表示 Open project: Monobjc/monobjc Class Usage Examples

Public Methods

Method Description
CATransform3DGetAffineTransform ( CATransform3D t ) : CGAffineTransform

Returns the affine transform represented by 't'. If 't' can not be exactly represented as an affine transform the returned value is undefined.

Original signature is : CGAffineTransform CATransform3DGetAffineTransform (CATransform3D t);

Available in Mac OS X version 10.5 and later.

Concat ( CATransform3D a, CATransform3D b ) : CATransform3D

Concatenate 'b' to 'a' and return the result: t' = a * b.

Original signature is : CATransform3D CATransform3DConcat (CATransform3D a, CATransform3D b);

Available in Mac OS X version 10.5 and later.

EqualToTransform ( CATransform3D a, CATransform3D b ) : bool

Returns a Boolean value that indicates whether the two transforms are exactly equal.

Original signature is : bool CATransform3DEqualToTransform (CATransform3D a, CATransform3D b);

Available in Mac OS X version 10.5 and later.

Invert ( CATransform3D t ) : CATransform3D

Invert 't' and return the result. Returns the original matrix if 't' has no inverse.

Original signature is : CATransform3D CATransform3DInvert (CATransform3D t);

Available in Mac OS X version 10.5 and later.

IsAffine ( CATransform3D t ) : bool

Returns true if 't' can be exactly represented by an affine transform.

Original signature is : bool CATransform3DIsAffine (CATransform3D t);

Available in Mac OS X version 10.5 and later.

IsIdentity ( CATransform3D t ) : bool

Returns a Boolean value that indicates whether the transform is the identity transform.

Original signature is : bool CATransform3DIsIdentity (CATransform3D t);

Available in Mac OS X version 10.5 and later.

Make ( CGAffineTransform m ) : CATransform3D

Return a transform with the same effect as affine transform 'm'.

Original signature is : CATransform3D CATransform3DMakeAffineTransform (CGAffineTransform m)

Available in Mac OS X version 10.5 and later.

MakeRotation ( float angle, float x, float y, float z ) : CATransform3D

Returns a transform that rotates by 'angle' radians about the vector '(x, y, z)'. If the vector has length zero the identity transform is returned.

Original signature is : CATransform3D CATransform3DMakeRotation (CGFloat angle, CGFloat x, CGFloat y, CGFloat z);

Available in Mac OS X version 10.5 and later.

MakeScale ( float sx, float sy, float sz ) : CATransform3D

Returns a transform that scales by `(sx, sy, sz)': * t' = [sx 0 0 0; 0 sy 0 0; 0 0 sz 0; 0 0 0 1].

Original signature is : CATransform3D CATransform3DMakeScale (CGFloat sx, CGFloat sy, CGFloat sz);

Available in Mac OS X version 10.5 and later.

MakeTranslation ( float tx, float ty, float tz ) : CATransform3D

Returns a transform that translates by '(tx, ty, tz)'. t' = [1 0 0 0; 0 1 0 0; 0 0 1 0; tx ty tz 1].

Original signature is : CATransform3D CATransform3DMakeTranslation (CGFloat tx, CGFloat ty, CGFloat tz)

Available in Mac OS X version 10.5 and later.

Rotate ( CATransform3D t, float angle, float x, float y, float z ) : CATransform3D

Rotate 't' by 'angle' radians about the vector '(x, y, z)' and return the result. If the vector has zero length the behavior is undefined: t' = rotation(angle, x, y, z) * t.

Original signature is : CATransform3D CATransform3DRotate (CATransform3D t, CGFloat angle, CGFloat x, CGFloat y, CGFloat z)

Available in Mac OS X version 10.5 and later.

Scale ( CATransform3D t, float sx, float sy, float sz ) : CATransform3D

Scale 't' by '(sx, sy, sz)' and return the result: * t' = scale(sx, sy, sz) * t.

Original signature is : CATransform3D CATransform3DScale (CATransform3D t, CGFloat sx, CGFloat sy, CGFloat sz)

Available in Mac OS X version 10.5 and later.

Translate ( CATransform3D t, float tx, float ty, float tz ) : CATransform3D

Translate 't' by '(tx, ty, tz)' and return the result: * t' = translate(tx, ty, tz) * t.

Original signature is : CATransform3D CATransform3DTranslate (CATransform3D t, CGFloat tx, CGFloat ty, CGFloat tz);

Available in Mac OS X version 10.5 and later.

Method Details

CATransform3DGetAffineTransform() public static method

Returns the affine transform represented by 't'. If 't' can not be exactly represented as an affine transform the returned value is undefined.

Original signature is : CGAffineTransform CATransform3DGetAffineTransform (CATransform3D t);

Available in Mac OS X version 10.5 and later.

public static CATransform3DGetAffineTransform ( CATransform3D t ) : CGAffineTransform
t CATransform3D
return Monobjc.ApplicationServices.CGAffineTransform

Concat() public static method

Concatenate 'b' to 'a' and return the result: t' = a * b.

Original signature is : CATransform3D CATransform3DConcat (CATransform3D a, CATransform3D b);

Available in Mac OS X version 10.5 and later.

public static Concat ( CATransform3D a, CATransform3D b ) : CATransform3D
a CATransform3D
b CATransform3D
return CATransform3D

EqualToTransform() public static method

Returns a Boolean value that indicates whether the two transforms are exactly equal.

Original signature is : bool CATransform3DEqualToTransform (CATransform3D a, CATransform3D b);

Available in Mac OS X version 10.5 and later.

public static EqualToTransform ( CATransform3D a, CATransform3D b ) : bool
a CATransform3D
b CATransform3D
return bool

Invert() public static method

Invert 't' and return the result. Returns the original matrix if 't' has no inverse.

Original signature is : CATransform3D CATransform3DInvert (CATransform3D t);

Available in Mac OS X version 10.5 and later.

public static Invert ( CATransform3D t ) : CATransform3D
t CATransform3D
return CATransform3D

IsAffine() public static method

Returns true if 't' can be exactly represented by an affine transform.

Original signature is : bool CATransform3DIsAffine (CATransform3D t);

Available in Mac OS X version 10.5 and later.

public static IsAffine ( CATransform3D t ) : bool
t CATransform3D
return bool

IsIdentity() public static method

Returns a Boolean value that indicates whether the transform is the identity transform.

Original signature is : bool CATransform3DIsIdentity (CATransform3D t);

Available in Mac OS X version 10.5 and later.

public static IsIdentity ( CATransform3D t ) : bool
t CATransform3D
return bool

Make() public static method

Return a transform with the same effect as affine transform 'm'.

Original signature is : CATransform3D CATransform3DMakeAffineTransform (CGAffineTransform m)

Available in Mac OS X version 10.5 and later.

public static Make ( CGAffineTransform m ) : CATransform3D
m Monobjc.ApplicationServices.CGAffineTransform
return CATransform3D

MakeRotation() public static method

Returns a transform that rotates by 'angle' radians about the vector '(x, y, z)'. If the vector has length zero the identity transform is returned.

Original signature is : CATransform3D CATransform3DMakeRotation (CGFloat angle, CGFloat x, CGFloat y, CGFloat z);

Available in Mac OS X version 10.5 and later.

public static MakeRotation ( float angle, float x, float y, float z ) : CATransform3D
angle float
x float
y float
z float
return CATransform3D

MakeScale() public static method

Returns a transform that scales by `(sx, sy, sz)': * t' = [sx 0 0 0; 0 sy 0 0; 0 0 sz 0; 0 0 0 1].

Original signature is : CATransform3D CATransform3DMakeScale (CGFloat sx, CGFloat sy, CGFloat sz);

Available in Mac OS X version 10.5 and later.

public static MakeScale ( float sx, float sy, float sz ) : CATransform3D
sx float
sy float
sz float
return CATransform3D

MakeTranslation() public static method

Returns a transform that translates by '(tx, ty, tz)'. t' = [1 0 0 0; 0 1 0 0; 0 0 1 0; tx ty tz 1].

Original signature is : CATransform3D CATransform3DMakeTranslation (CGFloat tx, CGFloat ty, CGFloat tz)

Available in Mac OS X version 10.5 and later.

public static MakeTranslation ( float tx, float ty, float tz ) : CATransform3D
tx float
ty float
tz float
return CATransform3D

Rotate() public static method

Rotate 't' by 'angle' radians about the vector '(x, y, z)' and return the result. If the vector has zero length the behavior is undefined: t' = rotation(angle, x, y, z) * t.

Original signature is : CATransform3D CATransform3DRotate (CATransform3D t, CGFloat angle, CGFloat x, CGFloat y, CGFloat z)

Available in Mac OS X version 10.5 and later.

public static Rotate ( CATransform3D t, float angle, float x, float y, float z ) : CATransform3D
t CATransform3D
angle float
x float
y float
z float
return CATransform3D

Scale() public static method

Scale 't' by '(sx, sy, sz)' and return the result: * t' = scale(sx, sy, sz) * t.

Original signature is : CATransform3D CATransform3DScale (CATransform3D t, CGFloat sx, CGFloat sy, CGFloat sz)

Available in Mac OS X version 10.5 and later.

public static Scale ( CATransform3D t, float sx, float sy, float sz ) : CATransform3D
t CATransform3D
sx float
sy float
sz float
return CATransform3D

Translate() public static method

Translate 't' by '(tx, ty, tz)' and return the result: * t' = translate(tx, ty, tz) * t.

Original signature is : CATransform3D CATransform3DTranslate (CATransform3D t, CGFloat tx, CGFloat ty, CGFloat tz);

Available in Mac OS X version 10.5 and later.

public static Translate ( CATransform3D t, float tx, float ty, float tz ) : CATransform3D
t CATransform3D
tx float
ty float
tz float
return CATransform3D