SharpVectors.Wpf
1.8.4.2
dotnet add package SharpVectors.Wpf --version 1.8.4.2
NuGet\Install-Package SharpVectors.Wpf -Version 1.8.4.2
<PackageReference Include="SharpVectors.Wpf" Version="1.8.4.2" />
paket add SharpVectors.Wpf --version 1.8.4.2
#r "nuget: SharpVectors.Wpf, 1.8.4.2"
// Install SharpVectors.Wpf as a Cake Addin #addin nuget:?package=SharpVectors.Wpf&version=1.8.4.2 // Install SharpVectors.Wpf as a Cake Tool #tool nuget:?package=SharpVectors.Wpf&version=1.8.4.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 ~ .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 (5)
Showing the top 5 NuGet packages that depend on SharpVectors.Wpf:
Package | Downloads |
---|---|
WPFTemplateLib
WPF 帮助类库,包含但不限于以下内容: 01、MVVM 基础支持类(命令:RelayCommand;绑定:ObservableObject、SimpleBindableBase、NotifyDataErrorObject、ViewModelBase)。 02、WPF 帮助类(BindingProxy、ResourceBinding、MediaColorHelper、FrameworkElementHelper、ConverterHelper 等)。 03、附加属性帮助类(WpfXamlPropProxy、BringIntoViewBehavior、ExportPicAttached、WpfTouchScrollHelper、GridHelper、FocusAttached、DataGridAttached、 TextBoxAttached、LabelAttached、RadioButtonAttached、RotateToTranslateAttachedV2、LocationTargetRenderOriginAttached、TabControlAttached 等)。 04、行为类(DragInCanvasBehavior、SelectedItemBehavior、AttachAdornerBehavior 等)。 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、CircleWithInOutText、CornerClip、FlipableControl、FlipableContentControl 等)。 09、用户控件(UC_InfoRegion、CircleWithTextBox、UC_Wait、UC_ConfirmBox 等)。 10、类型转换器(EnumDescriptionTypeConverter)。 11、在行为中使用的事件触发器(RoutedEventTrigger)。 12、增强类(FixedCountObservableCollection、RangeObservableCollection 等)。 13、一个常用值类 CommonValues(目前有两个布尔值:TrueValue、FalseValue)。 基础说明: - Xaml 命名空间:xmlns:lib="https://gitee.com/dlgcy/WPFTemplateLib" 。 - 样式以"LibSty"开头,控件模版以"LibTpl"开头。 - 转换器列表:https://gitee.com/dlgcy/WPFTemplateLib/blob/master/WpfConverters/ConverterDictionary.xaml - 默认主题的内容:https://gitee.com/dlgcy/WPFTemplateLib/blob/master/Styles/DefaultThemeDictionary.xaml 使用方法详见: 1、https://gitee.com/dlgcy/DLGCY_WPFPractice 2、https://gitee.com/dlgcy/WPFTemplate 3、https://dlgcy.com 4、https://gitee.com/dlgcy/WpfAnimationDemo 大部分是搬运修改网上的资源,少部分是自己原创,以自用为主,感兴趣的朋友也可以使用,欢迎交流讨论(微信公众号:独立观察员博客)。 免责声明:本库及维护者不对使用产生的任何问题负责,请自行充分测试。 严正声明:禁止在 996 以及相似类型的公司中使用本库。 *********************************************** 更新内容: 1、[构建] 更新各依赖包到最新(内部影响:Toast 控件引用的 FontAwesome 图标名称修正了一下)。 2、[增强] 让 EnumToStrInParaConverter(枚举转参数转换器)支持 uint 等类型的枚举。 3、[增强] ConverterHelper(转换器帮助类)中添加支持 UInt、Short、UShort、Byte、Long 类型的转换。 *********************************************** |
|
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. |
|
YuppieExLibrary
Package Description |
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.
|
|
OrgEleCho/CurvaLauncher
Simple, light, and fast desktop launcher. 简单、轻量、快速的桌面启动器.
|
|
yaobus/SIPAM
IP地址分配管理系统
|
|
dotnet/apisof.net
|
Release 1.8.4.2
* Fixed a color bug introduced in 1.8.4.1.