SharpVectors.Reloaded 1.3.0

There is a newer version of this package available.
See the version list below for details.

Requires NuGet 2.5 or higher.

dotnet add package SharpVectors.Reloaded --version 1.3.0                
NuGet\Install-Package SharpVectors.Reloaded -Version 1.3.0                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="SharpVectors.Reloaded" Version="1.3.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add SharpVectors.Reloaded --version 1.3.0                
#r "nuget: SharpVectors.Reloaded, 1.3.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install SharpVectors.Reloaded as a Cake Addin
#addin nuget:?package=SharpVectors.Reloaded&version=1.3.0

// Install SharpVectors.Reloaded as a Cake Tool
#tool nuget:?package=SharpVectors.Reloaded&version=1.3.0                

Project Description

The Scalable Vector Graphics (SVG) is an XML-based standard file format for creating graphics on the web, and is supported by most modern browsers. This project provides a C# library for parsing, converting and viewing the SVG files in WPF applications.

The Scalable Vector Graphics (SVG) is now natively supported in most internet browsers, including the IE 9. With the HTML5, the use of the SVG as graphics format on the web is increasing.

For .NET application developers, there is currently no library complete enough to handle SVG files. Even the commercial tools are either not available or not complete enough to handle most uses of the SVG in Windows Presentation Foundation (WPF) applications. The project does not aim to provide a complete implementation of the SVG file format, but will support the features required in an average graphics application.

The SVG specifications is available here.

This project is based on the SharpVectorGraphics (aka SVG#) library. Besides bug fixes and improved feature support, we updated it to .NET 2/.NET 3.5 platform, removing the dependencies on the depreciated script engine libraries and the zip library, SharpZipLib.

Features and Uses

In general, the following features are implemented:

  • 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.
  • A simple and basic SVG viewer (an advanced viewer is planned).
  • Interaction with the conversion process (by a visitor pattern) to allow for custom hyper-link implementations, font substitutions etc. NOTE: Only Geometry/Drawing level elements are exported, which will not work with Silverlight.

See the Documentation section for more information on the features.

Product Compatible and additional computed target framework versions.
.NET Framework net40 is compatible.  net403 was computed.  net45 was computed.  net451 was computed.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages (5)

Showing the top 5 NuGet packages that depend on SharpVectors.Reloaded:

Package Downloads
FlakEssentials.SVGEx

Package Description

Braco.Utilities.Wpf.Controls

Controls and some helpers for them that may be commonly used for WPF projects.

KsWare.Presentation.Converters.Svg

SVG Converter Plugin

TitleBarUIs

TitlleBar Control and inner ones - Icon, Title and Buttons

Ariadna.WPF

WPF UI Framework

GitHub repositories (5)

Showing the top 5 popular GitHub repositories that depend on SharpVectors.Reloaded:

Repository Stars
BerndK/SvgToXaml
Smart Tool to view svg-files and convert them to xaml for use in .NET
dsafa/audio-band
Display and control songs from the Windows taskbar
AudioBand/AudioBand
Display and control songs from the Windows taskbar
Macad3D/Macad3D
Free and OpenSource 3D Construction Tool
pebakery/pebakery
PEBakery is a script engine that specializes in customizing the Windows Preinstalled Environment (WinPE/WinRE).
Version Downloads Last updated
1.8.4.2 9,007 8/13/2024
1.8.4.1 1,792 7/23/2024
1.8.4 13,633 2/14/2024
1.8.3 2,130 1/15/2024
1.8.2 6,603 10/9/2023
1.8.1 38,941 10/24/2022
1.8.0 3,331 7/11/2022
1.7.7 36,043 12/12/2021
1.7.6 12,729 8/2/2021
1.7.5 5,015 6/5/2021
1.7.1 67,824 11/25/2020
1.7.0 838 11/16/2020 1.7.0 is deprecated because it has critical bugs.
1.6.0 70,104 5/17/2020
1.5.0 33,635 10/28/2019
1.4.0 54,167 10/12/2019
1.3.0 56,717 4/1/2019
1.2.0 12,049 11/11/2018
1.1.0 5,073 9/3/2018

Release 1.3.0
* Support for fallback paint server.
* Issue #81: Mouse Click on DOM Element.
* Issue #82: Please add Databinding. Added new image source with binding support.
* Issue #83: Show no Image when Path is not pointing to an existing file.
       * Issue #84: Transfrom parsing with floating numbers (submitted by @grayed).
       * Issue #87: SvgViewbox doesn't show ToolTip.
       * Issue #88: Make SvgDrawingCanvas Drawings public.
       * Issue #95: Wrong rect displaying.
           * Issue #96: Problem with SVG logo. Rework of the use element WPF rendering.

Release 1.2.0
* Improvements in marker support, including marker in curves.
* Improvements in color, color-profile, coordinates, transforms and aspect ratios.
* Support for slice alignment.
* Support for SVG element visitor interfaces.
       * Removed the default size of 640x480 in WPF rendering.
       * Issue #53. Binding support in controls.
       * Issue #79. Fixed clipping bug.
       * Issue #64. WPF path rendering improvements, gradient stop fix.

Release 1.1.0
* Moved from the .NET Client Profile to the full .NET Framework.
* Cleanup the .NET framework dependencies.
* Changed the converter assembly name; SharpVectors.Converters.dll to SharpVectors.Converters.Wpf.dll
* Changed the converter assembly name; SharpVectors.Runtime.dll to SharpVectors.Runtime.Wpf.dll
* Resolved various reported parsing and number handling issues.
* Resolved various reported rendering issues, especially opacity and gradient fills.
* Added marker support.