mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-12 03:48:56 +00:00
Meta - Replace WPF projects with Avalonia projects
This commit is contained in:
1 parent
fcf0376a9a
commit
d7f3ee1190
1110 files changed
+10872
-52240
No files matched your search
@@ -0,0 +1,19 @@
|
||||
using Avalonia;
|
||||
using SkiaSharp;
|
||||
|
||||
namespace Artemis.UI.Shared.Extensions;
|
||||
|
||||
public static class SKMatrixExtensions
|
||||
{
|
||||
public static Matrix ToMatrix(this SKMatrix matrix)
|
||||
{
|
||||
return new Matrix(
|
||||
matrix.ScaleX,
|
||||
matrix.SkewY,
|
||||
matrix.SkewX,
|
||||
matrix.ScaleY,
|
||||
matrix.TransX,
|
||||
matrix.TransY
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user