SharpVectors.Reloaded
1.3.0
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
<PackageReference Include="SharpVectors.Reloaded" Version="1.3.0" />
paket add SharpVectors.Reloaded --version 1.3.0
#r "nuget: SharpVectors.Reloaded, 1.3.0"
// 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 | Versions |
---|---|
.NET Framework | net40 net403 net45 net451 net452 net46 net461 net462 net463 net47 net471 net472 net48 net481 |
This package has no dependencies.
NuGet packages (5)
Showing the top 5 NuGet packages that depend on SharpVectors.Reloaded:
Package | Downloads |
---|---|
Braco.Utilities.Wpf.Controls
Controls and some helpers for them that may be commonly used for WPF projects. |
|
FlakEssentials.SVGEx
Package Description |
|
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.1 | 2,830 | 10/24/2022 | |
1.8.0 | 2,509 | 7/11/2022 | |
1.7.7 | 15,328 | 12/12/2021 | |
1.7.6 | 6,660 | 8/2/2021 | |
1.7.5 | 4,774 | 6/5/2021 | |
1.7.1 | 44,851 | 11/25/2020 | |
1.7.0 | 603 | 11/16/2020 | |
1.6.0 | 49,388 | 5/17/2020 | |
1.5.0 | 26,249 | 10/28/2019 | |
1.4.0 | 10,293 | 10/12/2019 | |
1.3.0 | 47,306 | 4/1/2019 | |
1.2.0 | 10,020 | 11/11/2018 | |
1.1.0 | 3,506 | 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.