TAgg2D.Transformations: TAggTransformations [*]
Description
Retrieves the currently used affine transformations matrix.
Returns
Returned is data structure containing currently used affine transformations matrix.
Example
var af: TAggTransformations; if VG.Attach(Image1.Picture.Bitmap) then begin VG.ClearAll(255, 255, 255); // Transform coordinates VG.Translate(10, 10); VG.Scale(2, 2); // Retrieve matrix containing transformations af := VG.Transformations; // af.affineMatrix is now 2,0,0,2,20,20 end;


