mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-12 03:48:56 +00:00
Device dialog - Added LEDs tab
General - Resolved lots of compile warnings (XML comments)
This commit is contained in:
1 parent
021f17aef4
commit
65837e671a
44 files changed
+1015
-761
No files matched your search
@@ -3,8 +3,16 @@ using SkiaSharp;
|
||||
|
||||
namespace Artemis.UI.Shared.Extensions;
|
||||
|
||||
/// <summary>
|
||||
/// Provides utility methods when working with SkiaSharp matrices.
|
||||
/// </summary>
|
||||
public static class SKMatrixExtensions
|
||||
{
|
||||
/// <summary>
|
||||
/// Converts the matrix to an Avalonia <see cref="Matrix" />.
|
||||
/// </summary>
|
||||
/// <param name="matrix">The matrix to convert.</param>
|
||||
/// <returns>The resulting Avalonia <see cref="Matrix" />.</returns>
|
||||
public static Matrix ToMatrix(this SKMatrix matrix)
|
||||
{
|
||||
return new Matrix(
|
||||
|
||||
Reference in new issue
Block a user