22 references to Translate
System.Drawing.Common.Tests (16)
System\Drawing\Drawing2D\LinearGradientBrushTests.cs (1)
741
expectedTransform.
Translate
(dx, dy);
System\Drawing\Drawing2D\MatrixTests.cs (2)
669
clone.
Translate
(offsetX, offsetY);
692
AssertExtensions.Throws<ArgumentException>(null, () => disposedMatrix.
Translate
(1, 2));
System\Drawing\Graphics_GetContextTests.cs (7)
49
initialTransform.
Translate
(1, 2);
67
initialTransform.
Translate
(1, 2);
84
initialTransform.
Translate
(1, 2);
103
initialTransform.
Translate
(1, 2);
111
initialTransform.
Translate
(1, 2);
124
initialTransform.
Translate
(1, 2);
133
initialTransform.
Translate
(1, 2);
System\Drawing\GraphicsTests.cs (2)
1072
matrix.
Translate
(2, 1);
1302
expectedTransform.
Translate
(dx, dy);
System\Drawing\PenTests.cs (1)
1070
matrix.
Translate
(1, 2);
System\Drawing\RegionTests.cs (3)
1012
matrix.
Translate
(10, 11);
1819
matrix.
Translate
(10, 11);
1836
matrix.
Translate
(10, 11);
System.Windows.Forms (2)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.DropDownHolder.cs (1)
237
m.
Translate
(s_resizeGripSize + 1, (_resizeUp ? s_resizeGripSize + 1 : 0));
System\Windows\Forms\Rendering\ControlPaint.cs (1)
435
transform.
Translate
(scrollOffset.X, scrollOffset.Y);
System.Windows.Forms.Primitives.Tests (2)
System\Windows\Forms\DeviceContextHdcScopeTests.cs (2)
23
transform.
Translate
(1.0f, 2.0f);
106
transform.
Translate
(1.0f, 2.0f);
System.Windows.Forms.Tests (2)
System\Windows\Forms\TextRendererTests.cs (2)
757
matrix.
Translate
(5, 10);
805
matrix.
Translate
(5, 10);