Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@


namespace IronSoftware.Drawing
{
public partial class CropRectangle
Expand Down
4 changes: 1 addition & 3 deletions IronSoftware.Drawing/IronSoftware.Drawing.Common/Font.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System;
using System.Collections.ObjectModel;


namespace IronSoftware.Drawing
{
Expand Down Expand Up @@ -130,7 +128,7 @@ public static implicit operator Font(System.Drawing.Font Font)
/// <param name="Font"><see cref="Font"/> is explicitly cast to a System.Drawing.Font </param>
static public implicit operator System.Drawing.Font(Font Font)
{
return new System.Drawing.Font(new FontFamily(Font.FamilyName), Font.Size, (System.Drawing.FontStyle)Font.Style);
return new System.Drawing.Font(new System.Drawing.FontFamily(Font.FamilyName), Font.Size, (System.Drawing.FontStyle)Font.Style);
}

/// <summary>
Expand Down
17 changes: 12 additions & 5 deletions NuGet/IronSoftware.Drawing.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -34,18 +34,25 @@ Supports:

For general support and technical inquiries, please email us at: developers@ironsoftware.com</description>
<summary>IronSoftware.System.Drawing helps C# Software Engineers to replace System.Drawing.Common in .NET projects.</summary>
<releaseNotes>* Added support for implicit casting for existing Color, CropRectangle, and Font with those of Microsoft.Maui
* Added support for implicit casting between Rgb48, Rgba64, and IronDrawing.Color</releaseNotes>
<releaseNotes>Support and Compatibility
* Universal compatiblity for .NET 7, .NET 6, .NET 5, and .NET Core
* Support for Windows, macOS, Linux, Azure, AWS, Mobile, iOS, Android, Xamarin, NanoServer, and IIS
All new classes developed to support conversion between: (System.Drawing, SixLabors.ImageSharp, SkiaSharp, and Microsoft.Maui)
* AnyBitmap: A universally compatible Bitmap class
* Color: A universally compatible Color class
* Font: A universally compatible Font class
* CropRectangle: A universally compatible Rectangle class</releaseNotes>
<copyright>Copyright © Iron Software 2022</copyright>
<tags>Images, Bitmap, SkiaSharp, SixLabors, BitMiracle, Maui, SVG, Tiff, Gif, Jpeg, Png, Color, Rectangle, Drawing, C#, VB.NET, aspx, create, render, generate, standard, netstandard2.0, core, netcore</tags>
<repository type="git" url="https://github.com/iron-software/IronSoftware.Drawing.Common" commit="$commit$" />
<dependencies>
<group targetFramework="net462">
<dependency id="SixLabors.ImageSharp.Drawing" version="1.0.0-beta15" />
<dependency id="SixLabors.ImageSharp" version="2.1.3" />
</group>
<group targetFramework="netstandard20">
<group targetFramework="netstandard20">
<dependency id="SixLabors.ImageSharp.Drawing" version="1.0.0-beta15" />
</group>
</dependencies>
</dependencies>
</metadata>
<files>
<file src=".\README.md" target="docs\" />
Expand Down