Class IGDIPlus.TGPMatrix
This is a Beta Read Only version of this page. Please review and send recommendations to mitov@mitov.com. We will enable the editing as soon as we are happy with the overall Wiki site.
Package: SignalLabBasicPkg
Unit: IGDIPlus
Inherits: TGPBase
Contents |
Syntax
Delphi:
type TGPMatrix = class( TGPBase, IGPMatrix )
C++ Builder:
class TGPMatrix : public TGPBase
Visual C++ (MFC):
class CTGPMatrix : public CTGPBase
C# (.NET):
public ref class TGPMatrix : Mitov.SignalLab.Base
Summary
A Represents a 3×3 matrix that represents an affine transformation.
Description
A TGPMatrix object represents a 3×3 matrix that, in turn, represents an affine transformation. A Matrix object stores only six of the 9 numbers in a 3×3 matrix because all 3×3 matrices that represent affine transformations have the same third column (0, 0, 1).
Methods
Public
- function Clone() : TGPMatrix
- function GetElements() : TGPMatrixParams
- function SetElements(m11 : Single; m12 : Single; m21 : Single; m22 : Single; dx : Single; dy : Single) : TGPMatrix
- function SetElements(AElements : TGPMatrixParams) : TGPMatrix
- procedure SetElementsProp(AElements : TGPMatrixParams)
- function OffsetX() : Single
- function OffsetY() : Single
- function Reset() : TGPMatrix
- function Multiply(matrix : IGPMatrix; order : TGPMatrixOrder) : TGPMatrix
- function Translate(offsetX : Single; offsetY : Single; order : TGPMatrixOrder) : TGPMatrix
- function Scale(scaleX : Single; scaleY : Single; order : TGPMatrixOrder) : TGPMatrix
- function Rotate(angle : Single; order : TGPMatrixOrder) : TGPMatrix
- function RotateAt(angle : Single; center : TGPPointF; order : TGPMatrixOrder) : TGPMatrix
- function Shear(shearX : Single; shearY : Single; order : TGPMatrixOrder) : TGPMatrix
- function Invert() : TGPMatrix
- function TransformPointF(var point : TGPPointF) : TGPMatrix
- function TransformPoint(var point : TGPPoint) : TGPMatrix
- function TransformPointsF(var pts : array) : TGPMatrix
- function TransformPoints(var pts : array) : TGPMatrix
- function TransformVectorsF(var pts : array) : TGPMatrix
- function TransformVectors(var pts : array) : TGPMatrix
- function IsInvertible() : Boolean
- function IsIdentity() : Boolean
- function EqualsMatrix(matrix : IGPMatrix) : Boolean