Class SvgRenderer
Convenience wrapper around a graphics object
Implements
System.IDisposable
Inherited Members
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
|
Improve this Doc
View Source
SmoothingMode
Declaration
public SmoothingMode SmoothingMode { get; set; }
Property Value
| Type |
Description |
| SmoothingMode |
|
|
Improve this Doc
View Source
Declaration
public Matrix Transform { get; set; }
Property Value
Methods
|
Improve this Doc
View Source
Dispose()
Declaration
|
Improve this Doc
View Source
DrawImage(Image, RectangleF, RectangleF, GraphicsUnit)
Declaration
public void DrawImage(Image image, RectangleF destRect, RectangleF srcRect, GraphicsUnit graphicsUnit)
Parameters
|
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
|
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)
Declaration
public static ISvgRenderer FromGraphics(Graphics graphics)
Parameters
| Type |
Name |
Description |
| Graphics |
graphics |
The to create the renderer from.
|
Returns
|
Improve this Doc
View Source
FromImage(Image)
Declaration
public static ISvgRenderer FromImage(Image image)
Parameters
| Type |
Name |
Description |
| Image |
image |
from which to create the new ISvgRenderer.
|
Returns
|
Improve this Doc
View Source
FromNull()
Declaration
public static ISvgRenderer FromNull()
Returns
|
Improve this Doc
View Source
GetBoundable()
Declaration
public ISvgBoundable GetBoundable()
Returns
|
Improve this Doc
View Source
GetClip()
Declaration
Returns
|
Improve this Doc
View Source
PopBoundable()
Declaration
public ISvgBoundable PopBoundable()
Returns
|
Improve this Doc
View Source
Declaration
public void RotateTransform(float fAngle, MatrixOrder order = null)
Parameters
| Type |
Name |
Description |
| Single |
fAngle |
|
| MatrixOrder |
order |
|
|
Improve this Doc
View Source
Declaration
public void ScaleTransform(float sx, float sy, MatrixOrder order = null)
Parameters
|
Improve this Doc
View Source
SetBoundable(ISvgBoundable)
Declaration
public void SetBoundable(ISvgBoundable boundable)
Parameters
|
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
Declaration
public void TranslateTransform(float dx, float dy, MatrixOrder order = null)
Parameters
Explicit Interface Implementations
|
Improve this Doc
View Source
IGraphicsProvider.GetGraphics()
Declaration
Graphics IGraphicsProvider.GetGraphics()
Returns
| Type |
Description |
| Graphics |
|
Implements
System.IDisposable