9 references to Translate
System.Drawing.Common.Tests (9)
System\Drawing\Drawing2D\LinearGradientBrushTests.cs (1)
758
expectedTransform.
Translate
(dx, dy, order);
System\Drawing\Drawing2D\MatrixTests.cs (3)
673
matrix.
Translate
(offsetX, offsetY, order);
684
AssertExtensions.Throws<ArgumentException>(null, () => matrix.
Translate
(1, 2, order));
693
AssertExtensions.Throws<ArgumentException>(null, () => disposedMatrix.
Translate
(1, 2, MatrixOrder.Append));
System\Drawing\Drawing2D\PathGradientBrushTests.cs (2)
772
matrix.
Translate
(20f, 30f, MatrixOrder.Prepend);
784
matrix.
Translate
(20f, 30f, matrixOrder);
System\Drawing\GraphicsTests.cs (1)
1322
expectedTransform.
Translate
(dx, dy, order);
System\Drawing\PenTests.cs (1)
1137
expected.
Translate
(dX, dY, matrixOrder);
System\Drawing\TextureBrushTests.cs (1)
646
expected.
Translate
(dX, dY, matrixOrder);