SKRectIHelper.cs 300 B

12345678910111213
  1. using SkiaSharp;
  2. using System.Windows;
  3. namespace PixiEditor.Helpers.Extensions
  4. {
  5. public static class SKRectIHelper
  6. {
  7. public static Int32Rect ToInt32Rect(this SKRectI rect)
  8. {
  9. return new Int32Rect(rect.Left, rect.Top, rect.Width, rect.Height);
  10. }
  11. }
  12. }