16 references to DrawImage
System.Drawing.Common (5)
System\Drawing\Graphics.cs (5)
2024public void DrawImageUnscaled(Image image, Point point) => DrawImage(image, point.X, point.Y); 2026public void DrawImageUnscaled(Image image, int x, int y) => DrawImage(image, x, y); 2028public void DrawImageUnscaled(Image image, Rectangle rect) => DrawImage(image, rect.X, rect.Y); 2030public void DrawImageUnscaled(Image image, int x, int y, int width, int height) => DrawImage(image, x, y); 2888DrawImage(icon.ToBitmap(), x, y);
System.Drawing.Common.Tests (3)
mono\System.Drawing\GraphicsTests.cs (3)
2543Assert.Throws<ArgumentNullException>(() => g.DrawImage(null, int.MaxValue, int.MinValue)); 2551Assert.Throws<OverflowException>(() => g.DrawImage(bmp, int.MaxValue, int.MinValue)); 2559g.DrawImage(bmp, -40, -40);
System.Windows.Forms (1)
System\Windows\Forms\Rendering\ControlPaint.cs (1)
1449graphics.DrawImage(bitmap, x, y);
System.Windows.Forms.Design (6)
System\Windows\Forms\Design\Behavior\DesignerActionGlyph.cs (1)
210pe.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)
229pe.Graphics.DrawImage(_image, _glyphBounds.Left, _glyphBounds.Top);
System\Windows\Forms\Design\ComponentTray.cs (1)
2325e.Graphics.DrawImage(InheritanceUI.InheritanceGlyph, 0, 0);
System\Windows\Forms\Design\ControlDesigner.cs (1)
1558pe.Graphics.DrawImage(InheritanceUI.InheritanceGlyph, 0, 0);
System\Windows\Forms\Design\GroupBoxDesigner.cs (1)
93pe.Graphics.DrawImage(InheritanceUI.InheritanceGlyph, 0, 0);
WindowsFormsIntegration (1)
System\Windows\Integration\HostUtils.cs (1)
199g.DrawImage(parentBitmap, -childElementHost.Left, -childElementHost.Top);