SharpVectors.md 3.0 KB

About

This project provides a C# library for parsing, converting and viewing the SVG files in WPF applications.

More documentation is available at the ShapeVectors Github Pages.

Key Features

  • Parsing of the SVG files to create the SVG DOM
  • SVG to XAML conversion
  • A small runtime library to handle font URI, embedded images and others when using the XAML files directly from disk.
  • An optimized XAML output.
  • Interaction with the conversion process (by a visitor pattern) to allow for custom hyper-link implementations, font substitutions etc.
  • Supports .NET Framework 4+, .NET Core, and .NET 6.0

Main Components

The library consists of several components as listed below and there is no dependency on external components:

  • SharpVectors.Core.dll (SVG interfaces and basic types)
  • SharpVectors.Css.dll (CSS interfaces and types)
  • SharpVectors.Dom.dll (SVG DOM, integrates CSS DOM)
  • SharpVectors.Model.dll (SVG model, parsing and utility classes)
  • SharpVectors.Rendering.Gdi.dll (GDI+ rendering of the SVG Model - requires more work)
  • SharpVectors.Runtime.Wpf.dll (An independent component with scroling/zooming panels for viewing rendered XAML)
  • SharpVectors.Rendering.Wpf.dll (WPF rendering of the SVG Model)
  • SharpVectors.Converters.Wpf.dll (Utitlity classes providing access to the WPF rendering features)

Credits

SharpVectors uses source codes from articles and other open source projects. We wish to acknowledge and thank the authors of these great articles and projects

Related Packages

Feedback

SharpVectors is released as open source under the BSD-3-Clause license, and the Third-Party licences