menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class CMirroredDrawer - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class CMirroredDrawer

    Utility class for mirroring graphics output if needed.

    Inheritance
    System.Object
    CMirroredDrawer
    Implements
    System.IDisposable
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    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()

    Implements

    System.IDisposable
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved