Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/sn4k3/UVtools.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'UVtools.Core/Extensions/DrawingExtensions.cs')
-rw-r--r--UVtools.Core/Extensions/DrawingExtensions.cs15
1 files changed, 0 insertions, 15 deletions
diff --git a/UVtools.Core/Extensions/DrawingExtensions.cs b/UVtools.Core/Extensions/DrawingExtensions.cs
index 33406a5..f98529c 100644
--- a/UVtools.Core/Extensions/DrawingExtensions.cs
+++ b/UVtools.Core/Extensions/DrawingExtensions.cs
@@ -20,20 +20,5 @@ namespace UVtools.Core.Extensions
Math.Min(Math.Max(min, color.B * factor), max));
return Color.FromArgb(r, g, b);
}
-
- public static int GetArea(this Rectangle rect)
- {
- return rect.Width * rect.Height;
- }
-
- public static int GetArea(this Size size)
- {
- return size.Width * size.Height;
- }
-
- public static int GetMaximum(this Size size)
- {
- return Math.Max(size.Width, size.Height);
- }
}
}