9 writes to Matrix
Microsoft.Maui.Graphics.Win2D.WinUI.Desktop (9)
src\Graphics\src\Graphics\Platforms\Windows\PlatformCanvasState.cs (9)
134
Matrix
= new Matrix3x2(prototype.Matrix.M11, prototype.Matrix.M12, prototype.Matrix.M21, prototype.Matrix.M22, prototype.Matrix.M31, prototype.Matrix.M32);
162
Matrix
= Matrix3x2.Identity;
450
Matrix
= Matrix.Translate(tx, ty);
456
return
Matrix
= Matrix3x2.Multiply(Matrix, transform);
462
Matrix
= Matrix.Scale(tx, ty);
469
Matrix
= Matrix.Rotate(radians);
476
Matrix
= Matrix.Translate(x, y);
477
Matrix
= Matrix.Rotate(radians);
478
Matrix
= Matrix.Translate(-x, -y);
22 references to Matrix
Microsoft.Maui.Graphics.Win2D.WinUI.Desktop (22)
src\Graphics\src\Graphics\Platforms\Windows\PlatformCanvas.cs (4)
809
imageSession.Transform = CurrentState.
Matrix
.Translate(CurrentState.ShadowOffset.X, CurrentState.ShadowOffset.Y);
822
_session.Transform = CurrentState.
Matrix
;
834
imageSession.Transform = CurrentState.
Matrix
;
847
_session.Transform = CurrentState.
Matrix
;
src\Graphics\src\Graphics\Platforms\Windows\PlatformCanvasState.cs (18)
134
Matrix = new Matrix3x2(prototype.
Matrix
.M11, prototype.
Matrix
.M12, prototype.
Matrix
.M21, prototype.
Matrix
.M22, prototype.
Matrix
.M31, prototype.
Matrix
.M32);
450
Matrix =
Matrix
.Translate(tx, ty);
451
return
Matrix
;
456
return Matrix = Matrix3x2.Multiply(
Matrix
, transform);
462
Matrix =
Matrix
.Scale(tx, ty);
463
return
Matrix
;
469
Matrix =
Matrix
.Rotate(radians);
470
return
Matrix
;
476
Matrix =
Matrix
.Translate(x, y);
477
Matrix =
Matrix
.Rotate(radians);
478
Matrix =
Matrix
.Translate(-x, -y);
479
return
Matrix
;
548
_owner.Session.Transform =
Matrix
;