mirror of
https://github.com/immense/Remotely.git
synced 2025-10-26 11:27:15 +00:00
19 lines
411 B
C#
19 lines
411 B
C#
using Remotely.Shared;
|
|
using SkiaSharp;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Remotely.Desktop.Core.Extensions
|
|
{
|
|
public static class SKBitmapExtensions
|
|
{
|
|
public static SKRect ToRectangle(this SKBitmap bitmap)
|
|
{
|
|
return new SKRect(0, 0, bitmap.Width, bitmap.Height);
|
|
}
|
|
}
|
|
}
|