9 writes to TransformElements
System.Drawing.Common.Tests (9)
System\Drawing\Graphics_GetContextTests.Core.cs (5)
47
graphics.
TransformElements
= Matrix3x2.CreateTranslation(1, 2);
64
graphics.
TransformElements
= Matrix3x2.CreateTranslation(1, 2);
82
graphics.
TransformElements
= Matrix3x2.CreateTranslation(1, 2);
102
graphics.
TransformElements
= Matrix3x2.CreateTranslation(1, 2);
122
graphics.
TransformElements
= Matrix3x2.CreateTranslation(1, 2);
System\Drawing\GraphicsTests.Core.cs (4)
19
AssertExtensions.Throws<ArgumentException>(null, () => graphics.
TransformElements
= matrix);
31
Assert.Throws<InvalidOperationException>(() => graphics.
TransformElements
= Matrix3x2.Identity);
47
AssertExtensions.Throws<ArgumentException>(null, () => graphics.
TransformElements
= Matrix3x2.Identity);
55
graphics.
TransformElements
= s_testMatrix;
6 references to TransformElements
System.Drawing.Common (2)
System\Drawing\Graphics.cs (1)
3218
cumulativeTransform =
TransformElements
; // Current context transform.
System\Drawing\GraphicsContext.cs (1)
15
TransformOffset = g.
TransformElements
.Translation;
System.Drawing.Common.Tests (4)
System\Drawing\GraphicsTests.Core.cs (4)
30
Assert.Throws<InvalidOperationException>(() => graphics.
TransformElements
);
46
AssertExtensions.Throws<ArgumentException>(null, () => graphics.
TransformElements
);
56
Assert.Equal(s_testMatrix, graphics.
TransformElements
);
66
Assert.True(graphics.
TransformElements
.IsIdentity);