32 references to Elements
System.Drawing.Common.Tests (32)
mono\System.Drawing\GraphicsTests.cs (5)
400float[] elements = g.Transform.Elements; 677float[] elements = g.Transform.Elements; 687elements = g.Transform.Elements; 697elements = g.Transform.Elements; 938float[] elements = m.Elements;
mono\System.Imaging\MetafileTest.cs (2)
355float[] elements = g.Transform.Elements; 364elements = g.Transform.Elements;
System\Drawing\Drawing2D\GraphicsPathTests.cs (2)
1092Assert.Equal([1f, 1f, 2f, 2f, 3f, 3f], matrix.Elements); 1104Assert.Equal([1f, 1f, 2f, 2f, 3f, 3f], matrix.Elements);
System\Drawing\Drawing2D\MatrixTests.Core.cs (2)
16Assert.Equal([m11, m12, m21, m22, dx, dy], matrix.Elements); 31Assert.Equal([m11, m12, m21, m22, dx, dy], matrix.Elements);
System\Drawing\Drawing2D\MatrixTests.cs (21)
43Assert.Equal([1, 0, 0, 1, 0, 0], matrix.Elements); 69Assert.Equal([m11, m12, m21, m22, dx, dy], matrix.Elements); 108Assert.Equal(expectedElements, matrix.Elements); 120Assert.Equal(expectedElements, matrix.Elements); 164Assert.Equal([1, 2, 3, 4, 5, 6], clone.Elements); 228AssertExtensions.Throws<ArgumentException>(null, () => CreateDisposedMatrix().Elements); 245Assert.Equal(expectedElements, matrix.Elements); 325Assert.Equal(expected, clone1.Elements, new FloatingPointToleranceComparerer<float>(0.00001f)); 329Assert.Equal(expected, matrix.Elements); 384Assert.Equal([1, 0, 0, 1, 0, 0], matrix.Elements); 387Assert.Equal([1, 0, 0, 1, 0, 0], matrix.Elements); 449AssertEqualFloatArray(expectedElements, clone1.Elements); 455AssertEqualFloatArray(expectedElementsRotateAt ?? expectedElements, clone2.Elements); 463AssertEqualFloatArray(expectedElements, clone3.Elements); 469AssertEqualFloatArray(expectedElementsRotateAt ?? expectedElements, clone4.Elements); 547Assert.Equal(expectedElements, clone.Elements, new FloatingPointToleranceComparerer<float>(0.00001f)); 551Assert.Equal(expectedElements, matrix.Elements); 613Assert.Equal(expectedElements, clone.Elements, new FloatingPointToleranceComparerer<float>(0.00001f)); 617Assert.Equal(expectedElements, matrix.Elements); 670Assert.Equal(expectedElements, clone.Elements, new FloatingPointToleranceComparerer<float>(0.00001f)); 674Assert.Equal(expectedElements, matrix.Elements, new FloatingPointToleranceComparerer<float>(0.00001f));