Class CMirroredDrawer
Utility class for mirroring graphics output if needed.
Inheritance
Implements
Inherited Members
Namespace: Syncfusion.Drawing
Assembly: Syncfusion.Shared.Base.dll
Syntax
public sealed class CMirroredDrawer : IDisposable
Constructors
CMirroredDrawer(Graphics, GraphicsPath, Boolean)
Overloaded. Creates a new mirror object for drawing mirrored images.
Declaration
public CMirroredDrawer(Graphics gfxTarget, GraphicsPath pathTarget, bool bDrawMirrored)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Graphics | gfxTarget | Source graphics object. |
System.Drawing.Drawing2D.GraphicsPath | pathTarget | Source graphics path object. |
System.Boolean | bDrawMirrored | If True mirror output; False otherwise. |
CMirroredDrawer(Graphics, Rectangle, Boolean)
Creates a new mirror object for drawing mirrored images.
Declaration
public CMirroredDrawer(Graphics gfxTarget, Rectangle rectBounds, bool bDrawMirrored)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Graphics | gfxTarget | Source graphics object. |
System.Drawing.Rectangle | rectBounds | Source rectangle structure. |
System.Boolean | bDrawMirrored | If True mirror output; False otherwise. |
CMirroredDrawer(Graphics, Rectangle, Boolean, Boolean)
Overloaded ctor.. as a workaround for Themed Mirrored rendering issue.
Creates a new mirror object for drawing mirrored images.
Declaration
public CMirroredDrawer(Graphics gfxTarget, Rectangle rectBounds, bool bDrawMirrored, bool bOSSupports)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Graphics | gfxTarget | Source graphics object. |
System.Drawing.Rectangle | rectBounds | Source rectangle structure. |
System.Boolean | bDrawMirrored | If True mirror output; False otherwise. |
System.Boolean | bOSSupports | False as a workaround when drawing themed mirrored graphics. |
Properties
VirtualBounds
Returns virtual rectangle.
Declaration
public Rectangle VirtualBounds { get; }
Property Value
Type |
---|
System.Drawing.Rectangle |
VirtualGfx
Returns virtual graphics context object.
Declaration
public Graphics VirtualGfx { get; }
Property Value
Type |
---|
System.Drawing.Graphics |
VirtualPath
Returns virtual Graphics path object.
Declaration
public GraphicsPath VirtualPath { get; }
Property Value
Type |
---|
System.Drawing.Drawing2D.GraphicsPath |
Methods
Dispose()
Disposes all resources, but first paints all data from the buffer to source device context.
Declaration
public void Dispose()