18 instantiations of Matrix
Microsoft.Maui.Controls (18)
Shapes\GeometryHelper.cs (1)
281
Matrix matx = new
Matrix
();
Shapes\Matrix.cs (8)
558
Matrix matrix = new
Matrix
();
575
Matrix matrix = new
Matrix
();
587
Matrix matrix = new
Matrix
();
597
Matrix matrix = new
Matrix
();
614
Matrix matrix = new
Matrix
();
626
Matrix matrix = new
Matrix
();
843
matrix1 = new
Matrix
(
862
matrix = new
Matrix
(1, 0, 0, 1, offsetX, offsetY)
Shapes\MatrixExtensions.cs (1)
10
return new
Matrix
Shapes\MatrixTransform.cs (1)
9
BindableProperty.Create(nameof(Matrix), typeof(Matrix), typeof(MatrixTransform), new
Matrix
(),
Shapes\MatrixTypeConverter.cs (1)
36
return new
Matrix
(values[0], values[1], values[2], values[3], values[4], values[5]);
Shapes\RotateTransform.cs (1)
76
Value = new
Matrix
(cos, sin, -sin, cos, CenterX * (1 - cos) + CenterY * sin, CenterY * (1 - cos) - CenterX * sin);
Shapes\ScaleTransform.cs (1)
84
Value = new
Matrix
(ScaleX, 0, 0, ScaleY, CenterX * (1 - ScaleX), CenterY * (1 - ScaleY));
Shapes\SkewTransform.cs (1)
91
Value = new
Matrix
(1, tanY, tanX, 1, -CenterY * tanX, -CenterX * tanY);
Shapes\Transform.cs (1)
10
BindableProperty.Create(nameof(Value), typeof(Matrix), typeof(Transform), new
Matrix
());
Shapes\TransformGroup.cs (1)
68
var matrix = new
Matrix
();
Shapes\TranslateTransform.cs (1)
51
Value = new
Matrix
(1, 0, 0, 1, X, Y);
50 references to Matrix
Microsoft.Maui.Controls (50)
Shapes\GeometryHelper.cs (4)
19
FlattenGeometry(pathGeoDst, geoSrc, tolerance,
Matrix
.Identity);
25
public static void FlattenGeometry(PathGeometry pathGeoDst, Geometry geoSrc, double tolerance,
Matrix
matxPrevious)
29
Matrix
matx = matxPrevious;
281
Matrix
matx = new Matrix();
Shapes\Matrix.cs (34)
17
public struct Matrix : IEquatable<
Matrix
>
28
static
Matrix
IdentityMatrix = CreateIdentity();
48
public static
Matrix
Identity { get { return IdentityMatrix; } }
66
public static
Matrix
operator *(
Matrix
trans1,
Matrix
trans2)
73
public static
Matrix
Multiply(
Matrix
trans1,
Matrix
trans2)
80
public void Append(
Matrix
matrix)
86
public void Prepend(
Matrix
matrix)
551
internal static
Matrix
CreateRotationRadians(double angle)
556
internal static
Matrix
CreateRotationRadians(double angle, double centerX, double centerY)
558
Matrix
matrix = new Matrix();
573
internal static
Matrix
CreateScaling(double scaleX, double scaleY, double centerX, double centerY)
575
Matrix
matrix = new Matrix();
585
internal static
Matrix
CreateScaling(double scaleX, double scaleY)
587
Matrix
matrix = new Matrix();
595
internal static
Matrix
CreateSkewRadians(double skewX, double skewY)
597
Matrix
matrix = new Matrix();
612
internal static
Matrix
CreateTranslation(double offsetX, double offsetY)
614
Matrix
matrix = new Matrix();
624
static
Matrix
CreateIdentity()
626
Matrix
matrix = new Matrix();
675
public bool Equals(
Matrix
other) =>
679
public override bool Equals(object obj) => obj is
Matrix
other && Equals(other);
685
public static bool operator ==(
Matrix
left,
Matrix
right) => left.Equals(right);
687
public static bool operator !=(
Matrix
left,
Matrix
right) => !(left == right);
692
internal static void TransformRect(ref Microsoft.Maui.Graphics.Rect rect, ref
Matrix
matrix)
752
internal static void MultiplyMatrix(ref
Matrix
matrix1, ref
Matrix
matrix2)
858
internal static void PrependOffset(ref
Matrix
matrix, double offsetX, double offsetY)
Shapes\MatrixExtensions.cs (2)
8
public static
Matrix
ToMatrix(this Matrix3x2 matrix3x2)
21
public static Matrix3x2 ToMatrix3X2(this
Matrix
matrix)
Shapes\MatrixTransform.cs (3)
9
BindableProperty.Create(nameof(Matrix), typeof(
Matrix
), typeof(MatrixTransform), new Matrix(),
13
public
Matrix
Matrix
16
get { return (
Matrix
)GetValue(MatrixProperty); }
Shapes\MatrixTypeConverter.cs (2)
20
internal static
Matrix
CreateMatrix(string value)
41
if (value is not
Matrix
matrix)
Shapes\Transform.cs (3)
10
BindableProperty.Create(nameof(Value), typeof(
Matrix
), typeof(Transform), new Matrix());
13
public
Matrix
Value
16
get { return (
Matrix
)GetValue(ValueProperty); }
Shapes\TransformGroup.cs (2)
68
var
matrix = new Matrix();
71
matrix =
Matrix
.Multiply(matrix, child.Value);