SMathStudio.Drawing 1.2.0

Prefix Reserved
dotnet add package SMathStudio.Drawing --version 1.2.0                
NuGet\Install-Package SMathStudio.Drawing -Version 1.2.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="SMathStudio.Drawing" Version="1.2.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add SMathStudio.Drawing --version 1.2.0                
#r "nuget: SMathStudio.Drawing, 1.2.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 SMathStudio.Drawing as a Cake Addin
#addin nuget:?package=SMathStudio.Drawing&version=1.2.0

// Install SMathStudio.Drawing as a Cake Tool
#tool nuget:?package=SMathStudio.Drawing&version=1.2.0                

SMath Studio Drawing Library

Free library, representing valuable part of SMath Studio engine. Responsible for platform independent graphics and native SVG drawing.

How to Use

// Draw Ellipse to SVG example

using var ms = new MemoryStream();
using var graphics = new SvgGraphics(ms, new Size(100, 100), false, false)

graphics.DrawEllipse(ColorPens.Navy, 50, 50, 80, 40);
var result = new UTF8Encoding(false).GetString(ms.ToArray());

// result will contain:
// <svg viewBox="-0.5 -0.5 101 101" width="101px" height="101px" xmlns="http://www.w3.org/2000/svg"><defs><style type="text/css">text {font-family: Courier New, Courier, mono;}</style></defs><ellipse fill="none" stroke="#000080" stroke-width="1px" cx="90" cy="70" rx="40" ry="20" /></svg>

Key Features

  • Native SVG support
  • Multiplatform. Supports .NET Framework, .NET Core, Android, iOS
  • Tested vs AvaloniaUI

Support

Ask support questions to support@smath.com

Documentation

The SMath Studio Core documentation is the best place to start.

Also check our Wiki.

Product 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.  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.  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. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net20 is compatible.  net35 was computed.  net40 was computed.  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. 
MonoAndroid monoandroid was computed.  monoandroid90 is compatible. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Universal Windows Platform uap10.0.19041 is compatible. 
Xamarin.iOS xamarinios was computed.  xamarinios10 is compatible. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.2.0 106 9/8/2024
1.0.0 130 9/4/2024

# Changelog (Release Notes)

All notable changes to this project will be documented in this file.

v.1.0.0
- Initial version of the library.

v.1.2.0
- NuGet package description improved.
- Package version adjusted to avoid potential conflicts with SMath Studio versioning.