SharpVectors.Wpf
1.8.4
dotnet add package SharpVectors.Wpf --version 1.8.4
NuGet\Install-Package SharpVectors.Wpf -Version 1.8.4
<PackageReference Include="SharpVectors.Wpf" Version="1.8.4" />
paket add SharpVectors.Wpf --version 1.8.4
#r "nuget: SharpVectors.Wpf, 1.8.4"
// Install SharpVectors.Wpf as a Cake Addin
#addin nuget:?package=SharpVectors.Wpf&version=1.8.4
// Install SharpVectors.Wpf as a Cake Tool
#tool nuget:?package=SharpVectors.Wpf&version=1.8.4
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 ~ .NET 8.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.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net6.0-windows7.0 is compatible. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net7.0-windows7.0 is compatible. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net8.0-windows7.0 is compatible. |
.NET Core | netcoreapp3.1 is compatible. |
.NET Framework | net40 is compatible. net403 was computed. net45 is compatible. net451 was computed. net452 was computed. net46 is compatible. net461 was computed. net462 was computed. net463 was computed. net47 is compatible. net471 was computed. net472 was computed. net48 is compatible. net481 was computed. |
-
.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.
-
net6.0-windows7.0
- No dependencies.
-
net7.0-windows7.0
- No dependencies.
-
net8.0-windows7.0
- No dependencies.
NuGet packages (4)
Showing the top 4 NuGet packages that depend on SharpVectors.Wpf:
Package | Downloads |
---|---|
WPFTemplateLib
WPF 帮助类库,包含: 01、MVVM 基础支持类(RelayCommand、BindableBase [2.0 版本后拆分为 ObservableObject、NotifyDataErrorObject、ViewModelBase] 等)。 02、WPF 帮助类(BindingProxy、ResourceBinding、MediaColorHelper 等)。 03、一些附加属性帮助类(WpfXamlPropProxy、ExportPicAttached、WpfTouchScrollHelper、GridHelper、FocusAttached、DataGridAttached 等)。 04、行为类(DragInCanvasBehavior、SelectedItemBehavior)。 05、一些样式(<ResourceDictionary Source="pack://application:,,,/WPFTemplateLib;component/Styles/StyleDictionary.xaml" />) 以及默认主题(不引入则不设置默认效果)(<ResourceDictionary Source="pack://application:,,,/WPFTemplateLib;component/Styles/DefaultThemeDictionary.xaml" />) 06、一些转换器(<ResourceDictionary Source="pack://application:,,,/WPFTemplateLib;component/WpfConverters/ConverterDictionary.xaml" />) 07、一个配置属性系统(ConfigManager)。 08、一些控件(Toast、ToastTextBlock、SystemDropShadowChrome、XUI:Form、PanelWithMessage、CircleWithTextBlock)。 09、一些用户控件(UC_InfoRegion、CircleWithTextBox、UC_Wait、UC_ConfirmBox 等)。 10、类型转换器(EnumDescriptionTypeConverter)。 11、在行为中使用的事件触发器(RoutedEventTrigger)。 12、一些增强类(FixedCountObservableCollection、RangeObservableCollection 等)。 Xaml 命名空间:xmlns:lib="https://gitee.com/dlgcy/WPFTemplateLib" 。 样式以"LibSty"开头,控件模版以"LibTpl"开头。 使用方法详见: 1、https://gitee.com/dlgcy/DLGCY_WPFPractice 2、https://gitee.com/dlgcy/WPFTemplate 3、https://dlgcy.com 大部分是搬运修改网上的资源,少部分是自己原创,以自用为主,感兴趣的朋友也可以使用,欢迎交流讨论(微信公众号:独立观察员博客)。 免责声明:本库及维护者不对使用产生的任何问题负责,请自行充分测试。 严正声明:禁止在 996 以及相似类型的公司中使用本库。 *********************************************** 更新内容: 1、[新增] 菜单Svg按钮样式 LibSty.Button.MenuSvgBtn (包含Svg格式的图片和文字两部分,默认图片在左。支持 WpfXamlPropProxy.ImagePosition、ImageUri、CornerRadius、TextRegionMargin、TextAlignment、ImageMargin、ImageWidth、ImageHeight、Id、CurrentSelectedId 以及颜色等属性)。 2、[依赖] 升级一些依赖的 NuGet 包版本。新增依赖包:SharpVectors.Wpf。 *********************************************** |
|
TQLApp.Utilities
Utilities to simplify plugin development for Techie's Quick Launcher. |
|
Tum4ik.JustClipboardManager.PluginDevKit
Plugin development kit for Just Clipboard Manager |
|
CloudNimble.LinqPad.Drivers.EF6Core
A LINQPad 6+ driver for EF6 DbContexts using Microsoft.Data.SqlClient. |
GitHub repositories (4)
Showing the top 4 popular GitHub repositories that depend on SharpVectors.Wpf:
Repository | Stars |
---|---|
WolvenKit/WolvenKit
Community Mod editor/creator for REDengine games.
|
|
yaobus/SIPAM
IP地址分配管理系统
|
|
OrgEleCho/CurvaLauncher
Simple, light, and fast desktop launcher
|
|
dotnet/apisof.net
|
Release 1.8.4
* Reactivated the EnsureViewboxSize support.