SharpVectors.Wpf 1.8.2
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.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
- SharpVectorGraphics (aka SVG#) by SVG# Team of Developers (SourceForge)
- WPF Zooming and Panning Control by Ashley Davis (CodeProject)
- Render Text On A Path With WPF by Charles Petzold (MSDN Magazine - December 2008)
- MinIoC by Microsoft (Single-file minimal C# IoC container)
- .NET ZLib Implementation by Alberto M (CodeProject)
- Brotli compression format by Google (C# Decoder)
Related Packages
- Full Package (WPF/GDI+) - Recommended: SharpVectors
- Full Package (WPF/GDI+) - Retiring (Old Name): SharpVectors.Reloaded
Feedback
SharpVectors is released as open source under the BSD-3-Clause license, and the Third-Party licences
- Bug reports and contributions are welcome at SharpVectors Issues.
- Discussions and Q/A are welcome at SharpVectors Discussions.
No packages depend on SharpVectors.Wpf.
Release 1.8.2
* XXE vulnerability fixes, and added URI resolver controls.
* Source codes and manual documentation improvements.
* Bug fixes and code improvements.
.NET Framework 4.0
- No dependencies.
.NET Framework 4.5
- No dependencies.
.NET Framework 4.6
- No dependencies.
.NET Framework 4.7
- No dependencies.
.NET Framework 4.8
- No dependencies.
.NET Core 3.1
- No dependencies.
.NET 5.0
- No dependencies.
.NET 6.0
- No dependencies.
.NET 7.0
- No dependencies.