Class GraphicsAutoAfineTransfrom
Class does 2D ratio and offset tranformation for System.Drawing.Graphics object using System.Drawing.Graphics.Transform property.
Transform is done in constructor and reverted in Dispose() method.
Implements
System.IDisposable
Namespace: Syncfusion.Drawing
Assembly: Syncfusion.Shared.Base.dll
Syntax
public class GraphicsAutoAfineTransfrom : Object, IDisposable
Remarks
Supposed to be used with
Constructors
GraphicsAutoAfineTransfrom(Graphics, Single, Single, Single, Single)
Declaration
public GraphicsAutoAfineTransfrom(Graphics gph, float fRatioX, float fRatioY, float fOffsetX, float fOffsetY)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Drawing.Graphics | gph | |
| System.Single | fRatioX | |
| System.Single | fRatioY | |
| System.Single | fOffsetX | |
| System.Single | fOffsetY |
Implements
System.IDisposable