ImageEn, unit iegdiplus

TIECanvas.ResetTransform

TIECanvas.ResetTransform


Declaration

procedure ResetTransform();


Description

Reset any rotation or transformation by use of:
 Translate
 Rotate

GDI+ Method: GdipResetWorldTransform


Example

// Use Translate and Rotate to move and rotate the text output
// Note: Example only. It is easier just to use the DrawText overrides to do this
With IECanvas do
begin
  Translate( 100, 100 );
  Rotate( -45 );
  DrawText( 'This is a test', 0, 0 );
  ResetTransform();
end;