Reference IMatrix
Declared in Codebot.Graphics.Types.pas on line 861
IMatrix is a 2d transform used by surfaces and brushes
IMatrix = interface(ICloneable<IMatrix>)
public
{ Reset to the identity matrix }
procedure Identity;
{ Multiply by another matrix }
procedure Multiply(M: IMatrix);
{ Move along each axis }
procedure Translate(X, Y: Float);
{ Scale along each axis }
procedure Scale(X, Y: Float);
{ Rotate by an angle in radians }
procedure Rotate(Radians: Float);
{ Transform a point }
function Transform(Point: TPointF): TPointF;
end;See also
Float in Codebot.System.pas
ICloneable<T> in Codebot.System.pas