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