11 references to DrawImage
System.Drawing.Common.Tests (3)
mono\System.Drawing\GraphicsTests.cs (3)
2543
Assert.Throws<ArgumentNullException>(() => g.
DrawImage
(null, int.MaxValue, int.MinValue));
2551
Assert.Throws<OverflowException>(() => g.
DrawImage
(bmp, int.MaxValue, int.MinValue));
2559
g.
DrawImage
(bmp, -40, -40);
System.Windows.Forms (1)
System\Windows\Forms\Rendering\ControlPaint.cs (1)
1453
graphics.
DrawImage
(bitmap, x, y);
System.Windows.Forms.Design (6)
System\Windows\Forms\Design\Behavior\DesignerActionGlyph.cs (1)
210
pe.Graphics.
DrawImage
(image, _bounds.Left, _bounds.Top);
System\Windows\Forms\Design\Behavior\DropSourceBehavior.cs (1)
816
_graphicsTarget.
DrawImage
(_dragImage, newImageRect.X, newImageRect.Y);
System\Windows\Forms\Design\Behavior\ToolStripPanelSelectionGlyph.cs (1)
229
pe.Graphics.
DrawImage
(_image, _glyphBounds.Left, _glyphBounds.Top);
System\Windows\Forms\Design\ComponentTray.cs (1)
2325
e.Graphics.
DrawImage
(InheritanceUI.InheritanceGlyph, 0, 0);
System\Windows\Forms\Design\ControlDesigner.cs (1)
1543
pe.Graphics.
DrawImage
(InheritanceUI.InheritanceGlyph, 0, 0);
System\Windows\Forms\Design\GroupBoxDesigner.cs (1)
93
pe.Graphics.
DrawImage
(InheritanceUI.InheritanceGlyph, 0, 0);
WindowsFormsIntegration (1)
System\Windows\Integration\HostUtils.cs (1)
204
g.
DrawImage
(parentBitmap, -childElementHost.Left, -childElementHost.Top);