skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • AI Coding Assistants
    • Embedded Reporting
    • Document Processing Libraries
    • SSO Account Sign-in

    Web

    Kendo UI UI for Angular UI for Vue UI for jQuery KendoReact UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Telerik JustMock

    CMS

    Sitefinity

    AI Productivity Tools

    AI Coding Assistants

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    KendoReact Free VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • First Steps
    • Docs
    • Demos
    • Virtual Classroom
    • Forums
    • Videos
    • Blogs
    • Accessibility
    • Submit a Ticket

    Productivity and Design Tools

    • Visual Studio Extensions
    • Visual Studio Templates
    • Embedded Reporting
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class SvgRenderer

Inheritance
System.Object
SvgRenderer
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Telerik.WinControls.Svg
Assembly: TelerikCommon.dll

Syntax

public sealed class SvgRenderer : ISvgRenderer, IDisposable, IGraphicsProvider

Properties

DpiY

Declaration
public float DpiY { get; }
Property Value
System.Single

Implements
ISvgRenderer.DpiY

SmoothingMode

Declaration
public SmoothingMode SmoothingMode { get; set; }
Property Value
System.Drawing.Drawing2D.SmoothingMode

Implements
ISvgRenderer.SmoothingMode

Transform

Declaration
public Matrix Transform { get; set; }
Property Value
System.Drawing.Drawing2D.Matrix

Implements
ISvgRenderer.Transform

Methods

Dispose()

Declaration
public void Dispose()
Implements
System.IDisposable.Dispose()

DrawImage(Image, RectangleF, RectangleF, GraphicsUnit)

Declaration
public void DrawImage(Image image, RectangleF destRect, RectangleF srcRect, GraphicsUnit graphicsUnit)
Parameters
System.Drawing.Image image

System.Drawing.RectangleF destRect

System.Drawing.RectangleF srcRect

System.Drawing.GraphicsUnit graphicsUnit

Implements
ISvgRenderer.DrawImage(Image, RectangleF, RectangleF, GraphicsUnit)

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

Declaration
public void DrawImage(Image image, RectangleF destRect, RectangleF srcRect, GraphicsUnit graphicsUnit, float opacity)
Parameters
System.Drawing.Image image

System.Drawing.RectangleF destRect

System.Drawing.RectangleF srcRect

System.Drawing.GraphicsUnit graphicsUnit

System.Single opacity

Implements
ISvgRenderer.DrawImage(Image, RectangleF, RectangleF, GraphicsUnit, Single)

DrawImageUnscaled(Image, Point)

Declaration
public void DrawImageUnscaled(Image image, Point location)
Parameters
System.Drawing.Image image

System.Drawing.Point location

Implements
ISvgRenderer.DrawImageUnscaled(Image, Point)

DrawPath(Pen, GraphicsPath)

Declaration
public void DrawPath(Pen pen, GraphicsPath path)
Parameters
System.Drawing.Pen pen

System.Drawing.Drawing2D.GraphicsPath path

Implements
ISvgRenderer.DrawPath(Pen, GraphicsPath)

FillPath(Brush, GraphicsPath)

Declaration
public void FillPath(Brush brush, GraphicsPath path)
Parameters
System.Drawing.Brush brush

System.Drawing.Drawing2D.GraphicsPath path

Implements
ISvgRenderer.FillPath(Brush, GraphicsPath)

FromGraphics(Graphics)

Declaration
public static ISvgRenderer FromGraphics(Graphics graphics)
Parameters
System.Drawing.Graphics graphics

Returns
ISvgRenderer

FromImage(Image)

Declaration
public static ISvgRenderer FromImage(Image image)
Parameters
System.Drawing.Image image

Returns
ISvgRenderer

FromNull()

Declaration
public static ISvgRenderer FromNull()
Returns
ISvgRenderer

GetBoundable()

Declaration
public ISvgBoundable GetBoundable()
Returns
ISvgBoundable

Implements
ISvgRenderer.GetBoundable()

GetClip()

Declaration
public Region GetClip()
Returns
System.Drawing.Region

Implements
ISvgRenderer.GetClip()

PopBoundable()

Declaration
public ISvgBoundable PopBoundable()
Returns
ISvgBoundable

Implements
ISvgRenderer.PopBoundable()

RotateTransform(Single, MatrixOrder)

Declaration
public void RotateTransform(float fAngle, MatrixOrder order)
Parameters
System.Single fAngle

System.Drawing.Drawing2D.MatrixOrder order

Implements
ISvgRenderer.RotateTransform(Single, MatrixOrder)

ScaleTransform(Single, Single, MatrixOrder)

Declaration
public void ScaleTransform(float sx, float sy, MatrixOrder order)
Parameters
System.Single sx

System.Single sy

System.Drawing.Drawing2D.MatrixOrder order

Implements
ISvgRenderer.ScaleTransform(Single, Single, MatrixOrder)

SetBoundable(ISvgBoundable)

Declaration
public void SetBoundable(ISvgBoundable boundable)
Parameters
ISvgBoundable boundable

Implements
ISvgRenderer.SetBoundable(ISvgBoundable)

SetClip(Region, CombineMode)

Declaration
public void SetClip(Region region, CombineMode combineMode)
Parameters
System.Drawing.Region region

System.Drawing.Drawing2D.CombineMode combineMode

Implements
ISvgRenderer.SetClip(Region, CombineMode)

TranslateTransform(Single, Single, MatrixOrder)

Declaration
public void TranslateTransform(float dx, float dy, MatrixOrder order)
Parameters
System.Single dx

System.Single dy

System.Drawing.Drawing2D.MatrixOrder order

Implements
ISvgRenderer.TranslateTransform(Single, Single, MatrixOrder)

Explicit Interface Implementations

IGraphicsProvider.GetGraphics()

Declaration
Graphics IGraphicsProvider.GetGraphics()
Returns
System.Drawing.Graphics

Implements
IGraphicsProvider.GetGraphics()

Extension Methods

SvgExtentions.Traverse<T>(T, Func<T, IEnumerable<T>>)
SvgExtentions.TraverseDepthFirst<T>(T, Func<T, IEnumerable<T>>)
Getting Started
  • Install Now
  • Demos
  • Step-by-Step Tutorial
  • Sample Applications
  • SDK Samples
  • Visual Studio Extensions
Support Resources
  • Code Library
  • Knowledge Base
  • Videos
Community
  • Forums
  • Blogs
  • Feedback Portal
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.