Method FitToViewbox
- Namespace
- SharpVectors.Renderers.Wpf
- Assembly
- SharpVectors.Rendering.Wpf.dll
FitToViewbox(WpfDrawingContext, Rect)
protected void FitToViewbox(WpfDrawingContext context, Rect elementBounds)
Parameters
context
WpfDrawingContextelementBounds
Rect
FitToViewbox(WpfDrawingContext, SvgElement, Rect)
protected void FitToViewbox(WpfDrawingContext context, SvgElement svgElement, Rect elementBounds)
Parameters
context
WpfDrawingContextsvgElement
SvgElementelementBounds
Rect