SharpVectors 1.8.1

.NET 5.0 .NET Core 3.1 .NET Framework 4.0
dotnet add package SharpVectors --version 1.8.1
NuGet\Install-Package SharpVectors -Version 1.8.1
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" Version="1.8.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add SharpVectors --version 1.8.1
#r "nuget: SharpVectors, 1.8.1"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install SharpVectors as a Cake Addin
#addin nuget:?package=SharpVectors&version=1.8.1

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

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

Feedback

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

Product Versions
.NET net5.0 net5.0-windows net5.0-windows7.0 net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows net6.0-windows7.0 net7.0 net7.0-android net7.0-ios net7.0-maccatalyst net7.0-macos net7.0-tvos net7.0-windows
.NET Core netcoreapp3.1
.NET Framework net40 net403 net45 net451 net452 net46 net461 net462 net463 net47 net471 net472 net48 net481
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.
  • .NETCoreApp 3.1

    • No dependencies.
  • .NETFramework 4.0

    • No dependencies.
  • .NETFramework 4.5

    • No dependencies.
  • .NETFramework 4.6

    • No dependencies.
  • .NETFramework 4.7

    • No dependencies.
  • .NETFramework 4.8

    • No dependencies.
  • net5.0-windows7.0

    • No dependencies.
  • net6.0-windows7.0

    • No dependencies.

NuGet packages (9)

Showing the top 5 NuGet packages that depend on SharpVectors:

Package Downloads
Common.PresentationBase

Package Description

FrontDesk.Bootstrapper

Description

FrontDesk.Auth.Infrastructure.csproj

Package description

XTrips.WPF

Bibliothèque de composants WPF.

FrontDesk.Auth

Auth module for FrontDesk

GitHub repositories (11)

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

Repository Stars
OptiKey/OptiKey
OptiKey - Full computer control and speech with your eyes
Flow-Launcher/Flow.Launcher
:mag: Quick file search & app launcher for Windows with community-made plugins
Mzying2001/CefFlashBrowser
Flash浏览器 / Flash Browser
automuteus/amonguscapture
Capture of the local Among Us executable state
BruceQiu1996/NPhoenix
Base on Lcu api,support many functions.Let's go by read readme.md
Version Downloads Last updated
1.8.1 17,593 10/24/2022
1.8.0 27,150 7/11/2022
1.7.7 76,402 12/12/2021
1.7.6 31,737 8/2/2021
1.7.5 13,513 6/5/2021
1.7.1 60,964 11/25/2020
1.7.0 3,690 11/16/2020
1.0.0 226,849 3/9/2013

Release 1.8.1
         * WPF: Added controls (SvgBitmap, SvgIcon) to improve binding and supports monochrome SVG.
         * WPF: Design-mode support improvements and fixes.
         * Options to ignore or accept external resources, contributed by @mb-jp.
         * Options to ignore or render bitmaps, contributed by @mb-jp.
         * Source codes and manual documentation improvements.
         * Bug fixes and code improvements.