Search Results for

    Show / Hide Table of Contents

    Class SvgRenderer

    Convenience wrapper around a graphics object

    Inheritance
    Object
    SvgRenderer
    Implements
    ISvgRenderer
    System.IDisposable
    IGraphicsProvider
    Inherited Members
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Svg
    Assembly: Svg.dll
    Syntax
    public sealed class SvgRenderer : ISvgRenderer, IDisposable, IGraphicsProvider

    Properties

    | Improve this Doc View Source

    DpiY

    Declaration
    public float DpiY { get; }
    Property Value
    Type Description
    Single
    | Improve this Doc View Source

    SmoothingMode

    Declaration
    public SmoothingMode SmoothingMode { get; set; }
    Property Value
    Type Description
    SmoothingMode
    | Improve this Doc View Source

    Transform

    Declaration
    public Matrix Transform { get; set; }
    Property Value
    Type Description
    Matrix

    Methods

    | Improve this Doc View Source

    Dispose()

    Declaration
    public void Dispose()
    | Improve this Doc View Source

    DrawImage(Image, RectangleF, RectangleF, GraphicsUnit)

    Declaration
    public void DrawImage(Image image, RectangleF destRect, RectangleF srcRect, GraphicsUnit graphicsUnit)
    Parameters
    Type Name Description
    Image image
    RectangleF destRect
    RectangleF srcRect
    GraphicsUnit graphicsUnit
    | Improve this Doc View Source

    DrawImage(Image, RectangleF, RectangleF, GraphicsUnit, Single)

    Declaration
    public void DrawImage(Image image, RectangleF destRect, RectangleF srcRect, GraphicsUnit graphicsUnit, float opacity)
    Parameters
    Type Name Description
    Image image
    RectangleF destRect
    RectangleF srcRect
    GraphicsUnit graphicsUnit
    Single opacity
    | Improve this Doc View Source

    DrawImageUnscaled(Image, Point)

    Declaration
    public void DrawImageUnscaled(Image image, Point location)
    Parameters
    Type Name Description
    Image image
    Point location
    | Improve this Doc View Source

    DrawPath(Pen, GraphicsPath)

    Declaration
    public void DrawPath(Pen pen, GraphicsPath path)
    Parameters
    Type Name Description
    Pen pen
    GraphicsPath path
    | Improve this Doc View Source

    FillPath(Brush, GraphicsPath)

    Declaration
    public void FillPath(Brush brush, GraphicsPath path)
    Parameters
    Type Name Description
    Brush brush
    GraphicsPath path
    | Improve this Doc View Source

    FromGraphics(Graphics)

    Creates a new ISvgRenderer from the specified .

    Declaration
    public static ISvgRenderer FromGraphics(Graphics graphics)
    Parameters
    Type Name Description
    Graphics graphics

    The to create the renderer from.

    Returns
    Type Description
    ISvgRenderer
    | Improve this Doc View Source

    FromImage(Image)

    Creates a new ISvgRenderer from the specified .

    Declaration
    public static ISvgRenderer FromImage(Image image)
    Parameters
    Type Name Description
    Image image

    from which to create the new ISvgRenderer.

    Returns
    Type Description
    ISvgRenderer
    | Improve this Doc View Source

    FromNull()

    Declaration
    public static ISvgRenderer FromNull()
    Returns
    Type Description
    ISvgRenderer
    | Improve this Doc View Source

    GetBoundable()

    Declaration
    public ISvgBoundable GetBoundable()
    Returns
    Type Description
    ISvgBoundable
    | Improve this Doc View Source

    GetClip()

    Declaration
    public Region GetClip()
    Returns
    Type Description
    Region
    | Improve this Doc View Source

    PopBoundable()

    Declaration
    public ISvgBoundable PopBoundable()
    Returns
    Type Description
    ISvgBoundable
    | Improve this Doc View Source

    RotateTransform(Single, MatrixOrder)

    Declaration
    public void RotateTransform(float fAngle, MatrixOrder order = null)
    Parameters
    Type Name Description
    Single fAngle
    MatrixOrder order
    | Improve this Doc View Source

    ScaleTransform(Single, Single, MatrixOrder)

    Declaration
    public void ScaleTransform(float sx, float sy, MatrixOrder order = null)
    Parameters
    Type Name Description
    Single sx
    Single sy
    MatrixOrder order
    | Improve this Doc View Source

    SetBoundable(ISvgBoundable)

    Declaration
    public void SetBoundable(ISvgBoundable boundable)
    Parameters
    Type Name Description
    ISvgBoundable boundable
    | Improve this Doc View Source

    SetClip(Region, CombineMode)

    Declaration
    public void SetClip(Region region, CombineMode combineMode = null)
    Parameters
    Type Name Description
    Region region
    CombineMode combineMode
    | Improve this Doc View Source

    TranslateTransform(Single, Single, MatrixOrder)

    Declaration
    public void TranslateTransform(float dx, float dy, MatrixOrder order = null)
    Parameters
    Type Name Description
    Single dx
    Single dy
    MatrixOrder order

    Explicit Interface Implementations

    | Improve this Doc View Source

    IGraphicsProvider.GetGraphics()

    Declaration
    Graphics IGraphicsProvider.GetGraphics()
    Returns
    Type Description
    Graphics

    Implements

    ISvgRenderer
    System.IDisposable
    IGraphicsProvider
    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX