- Rename src to _src

This commit is contained in:
Stone_Red
2021-12-23 11:11:06 +01:00
parent ed84fe37ed
commit 441a8b00cc
171 changed files with 26339 additions and 0 deletions
@@ -0,0 +1,26 @@
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DesktopMagicPluginAPI.Drawing
{
internal class FontComparer : IEqualityComparer<Font>
{
public bool Equals(Font font1, Font font2)
{
if (font1.Name != font2.Name) return false;
if (font1.SizeInPoints != font2.SizeInPoints) return false;
if (font1.Style != font2.Style) return false;
return true;
}
public int GetHashCode([DisallowNull] Font obj)
{
return obj.GetHashCode();
}
}
}