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