6 instantiations of Matrix3x2
Microsoft.Gen.Logging.Generated.Tests (1)
Microsoft.Maui.Controls (1)
Microsoft.Maui.Graphics.Win2D.WinUI.Desktop (1)
System.Drawing.Common.Tests (3)
System\Drawing\Drawing2D\MatrixTests.Core.cs (2)
14Matrix3x2 matrix3X2 = new(m11, m12, m21, m22, dx, dy);
28Matrix3x2 matrix3X2 = new(m11, m12, m21, m22, dx, dy);
216 references to Matrix3x2
Microsoft.Gen.Logging.Generated.Tests (1)
Microsoft.Maui (2)
Microsoft.Maui.Controls (2)
Microsoft.Maui.Graphics (47)
Matrix3x2Extensions.cs (21)
12 public static bool IsZero(this in Matrix3x2 matrix)
29 public static bool IsFinite(this in Matrix3x2 matrix)
51 public static Vector2 GetScale(this in Matrix3x2 matrix)
60 public static float GetRotation(this in Matrix3x2 matrix)
65 public static Vector2 GetTranslation(this in Matrix3x2 matrix)
70 public static Matrix3x2 WithScale(this Matrix3x2 matrix, Vector2 scale)
89 public static Matrix3x2 WithoutScale(this in Matrix3x2 matrix)
94 public static Matrix3x2 WithRotation(this in Matrix3x2 matrix, float radians)
101 public static Matrix3x2 WithoutRotation(this in Matrix3x2 matrix)
108 public static Matrix3x2 WithTranslation(this Matrix3x2 matrix, Vector2 translation)
129 internal static Matrix3x2 CreateMatrix3x2(Vector2 scale, float rotation, Vector2 translation)
131 var m = Matrix3x2.CreateRotation(rotation);
141 public static float GetLengthScale(this in Matrix3x2 matrix)
148 public static void CopyTo(this in Matrix3x2 matrix, float[] dst, int offset = 0, int count = 6)
163 public static void DeconstructScales(this in Matrix3x2 value, out float scale, out float scalex, out float scaley)
Microsoft.Maui.Graphics.Skia (2)
Microsoft.Maui.Graphics.Win2D.WinUI.Desktop (27)
src\Graphics\src\Graphics\Platforms\Windows\GraphicsExtensions.cs (13)
71 static Matrix3x2 Scale(this Matrix3x2 target, float sx, float sy)
73 return Matrix3x2.Multiply(Matrix3x2.CreateScale(sx, sy), target);
84 static Matrix3x2 Translate(this Matrix3x2 target, float dx, float dy)
86 return Matrix3x2.Multiply(Matrix3x2.CreateTranslation(dx, dy), target);
97 static Matrix3x2 Rotate(this Matrix3x2 target, float radians)
99 Matrix3x2 vMatrix = Matrix3x2.Multiply(Matrix3x2.CreateRotation(radians), target);
netstandard (1)
System.Drawing.Common (11)
System.Drawing.Common.Tests (14)
System\Drawing\Drawing2D\MatrixTests.Core.cs (2)
14Matrix3x2 matrix3X2 = new(m11, m12, m21, m22, dx, dy);
28Matrix3x2 matrix3X2 = new(m11, m12, m21, m22, dx, dy);
System.Numerics (1)
System.Numerics.Vectors (1)
System.Private.CoreLib (70)
src\libraries\System.Private.CoreLib\src\System\Numerics\Matrix3x2.cs (58)
14public partial struct Matrix3x2 : IEquatable<Matrix3x2>
66public static Matrix3x2 Identity
113/// <remarks>The <see cref="op_Addition" /> method defines the operation of the addition operator for <see cref="Matrix3x2" /> objects.</remarks>
115public static Matrix3x2 operator +(Matrix3x2 value1, Matrix3x2 value2)
124public static bool operator ==(Matrix3x2 value1, Matrix3x2 value2)
132public static bool operator !=(Matrix3x2 value1, Matrix3x2 value2)
139/// <remarks>The <see cref="Matrix3x2.op_Multiply" /> method defines the operation of the multiplication operator for <see cref="Matrix3x2" /> objects.</remarks>
140public static Matrix3x2 operator *(Matrix3x2 value1, Matrix3x2 value2)
147/// <remarks>The <see cref="Matrix3x2.op_Multiply" /> method defines the operation of the multiplication operator for <see cref="Matrix3x2" /> objects.</remarks>
149public static Matrix3x2 operator *(Matrix3x2 value1, float value2)
156/// <remarks>The <see cref="Subtract" /> method defines the operation of the subtraction operator for <see cref="Matrix3x2" /> objects.</remarks>
158public static Matrix3x2 operator -(Matrix3x2 value1, Matrix3x2 value2)
164/// <altmember cref="Negate(Matrix3x2)" />
166public static Matrix3x2 operator -(Matrix3x2 value)
174public static Matrix3x2 Add(Matrix3x2 value1, Matrix3x2 value2)
180public static Matrix3x2 CreateRotation(float radians)
187public static Matrix3x2 CreateRotation(float radians, Vector2 centerPoint)
193public static Matrix3x2 CreateScale(Vector2 scales)
200public static Matrix3x2 CreateScale(float xScale, float yScale)
208public static Matrix3x2 CreateScale(float xScale, float yScale, Vector2 centerPoint)
215public static Matrix3x2 CreateScale(Vector2 scales, Vector2 centerPoint)
221public static Matrix3x2 CreateScale(float scale)
228public static Matrix3x2 CreateScale(float scale, Vector2 centerPoint)
235public static Matrix3x2 CreateSkew(float radiansX, float radiansY)
243public static Matrix3x2 CreateSkew(float radiansX, float radiansY, Vector2 centerPoint)
249public static Matrix3x2 CreateTranslation(Vector2 position)
256public static Matrix3x2 CreateTranslation(float xPosition, float yPosition)
263public static bool Invert(Matrix3x2 matrix, out Matrix3x2 result)
275public static Matrix3x2 Lerp(Matrix3x2 matrix1, Matrix3x2 matrix2, float amount)
283public static Matrix3x2 Multiply(Matrix3x2 value1, Matrix3x2 value2)
291public static Matrix3x2 Multiply(Matrix3x2 value1, float value2)
298public static Matrix3x2 Negate(Matrix3x2 value)
306public static Matrix3x2 Subtract(Matrix3x2 value1, Matrix3x2 value2)
312/// <remarks>The current instance and <paramref name="obj" /> are equal if <paramref name="obj" /> is a <see cref="Matrix3x2" /> object and the corresponding elements of each matrix are equal.</remarks>
322public readonly bool Equals(Matrix3x2 other)
System.Windows.Forms (1)
System.Windows.Forms.Primitives.TestUtilities (12)
System.Windows.Forms.Tests (24)