16 references to DrawImage
System.Drawing.Common (5)
System\Drawing\Graphics.cs (5)
2024
public void DrawImageUnscaled(Image image, Point point) =>
DrawImage
(image, point.X, point.Y);
2026
public void DrawImageUnscaled(Image image, int x, int y) =>
DrawImage
(image, x, y);
2028
public void DrawImageUnscaled(Image image, Rectangle rect) =>
DrawImage
(image, rect.X, rect.Y);
2030
public void DrawImageUnscaled(Image image, int x, int y, int width, int height) =>
DrawImage
(image, x, y);
2888
DrawImage
(icon.ToBitmap(), x, y);
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)
1449
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)
1558
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)
199
g.
DrawImage
(parentBitmap, -childElementHost.Left, -childElementHost.Top);