Table of Contents

Namespace SharpVectors.Converters

The SharpVectors.Converters namespace contains a bunch of classes and interfaces.

Classes

DirectorySvgConverter

This converts a directory (and optionally the sub-directories) of SVG files to XAML files in a specified directory, maintaining the original directory structure.

It uses FileSvgConverter or ImageSvgConverter converter to process each SVG file in the specified directory.

EmbeddedImageSerializerArgs
EmbeddedImageSerializerVisitor
EmbeddedImageVisitor
FileSvgConverter

This converts an SVG file to the corresponding XAML file, which can be viewed in WPF application.

The root object in the converted file is DrawingGroup.

FileSvgReader

This converts a SVG file to DrawingGroup object, and can optionally save the result to a file as XAML.

FontFamilyVisitor
ImageSvgConverter

This converts the SVG file to static or bitmap image, which is saved to a file.

LinkVisitor
ResourceSvgConverter
ResourceSvgConverter.ResourceItem
ShapeSvgCanvas

Component that visualizes svg document contents.

StreamSvgConverter

This converts the SVG file to static or bitmap image, which is saved to a file.

SvgBitmap

This is an extension of the WPF Image control to provide SVG-based image sources.

SvgCanvas

This is a Canvas control for viewing SVG file in WPF applications.

SvgControl
SvgConverter

This is the abstract base class for all SVG to WPF converters.

SvgIcon

This is an extension of the WPF Image control to provide SVG-based image sources.

SvgImageBase

This is an abstract implementation of a markup extension that enables the creation of DrawingImage from SVG sources.

SvgImageConverterExtension

This implements a markup extension that enables the creation of DrawingImage from SVG sources.

SvgImageExtension

This implements a markup extension that enables the creation of DrawingImage from SVG sources.

SvgViewbox

This is a Viewbox control for viewing SVG file in WPF applications.

XmlXamlWriter

This is a customized XAML writer, which provides Extensible Application Markup Language (XAML) serialization of provided runtime objects into XAML.

Enums

ImageEncoderType

This specifies the encoder type used to encode a collection of bitmap frame objects to an image stream.

This is used by the ImageSvgConverter converter.

SvgControlSizeMode