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