9 references to DrawImage
System.Drawing.Common.Tests (2)
mono\System.Drawing\GraphicsTests.cs (2)
2591
Assert.Throws<ArgumentNullException>(() => g.
DrawImage
(null, default(Rectangle), default, GraphicsUnit.Display));
2599
g.
DrawImage
(bmp, r, r, unit);
System.Windows.Forms (4)
System\Windows\Forms\Controls\DataGridView\DataGridViewColumnHeaderCell.cs (1)
840
g.
DrawImage
(bmFlipXPThemes, backgroundBounds, new Rectangle(bmFlipXPThemes.Width - backgroundBounds.Width, 0, backgroundBounds.Width, backgroundBounds.Height), GraphicsUnit.Pixel);
System\Windows\Forms\Controls\DataGridView\DataGridViewRowHeaderCell.cs (1)
703
graphics.
DrawImage
(
System\Windows\Forms\Controls\ToolStrips\ToolstripProfessionalRenderer.cs (1)
769
e.Graphics.
DrawImage
(image, imageRect, new Rectangle(Point.Empty, imageRect.Size), GraphicsUnit.Pixel);
System\Windows\Forms\Controls\ToolStrips\ToolStripRenderer.cs (1)
797
e.Graphics.
DrawImage
(image, imageRect, new Rectangle(Point.Empty, imageRect.Size), GraphicsUnit.Pixel);
System.Windows.Forms.Design (3)
System\Windows\Forms\Design\Behavior\DragAssistanceManager.cs (2)
377
_graphics.
DrawImage
(_backgroundImage, invalidRect, invalidRect, GraphicsUnit.Pixel);
397
_graphics.
DrawImage
(_backgroundImage, invalidRect, invalidRect, GraphicsUnit.Pixel);
System\Windows\Forms\Design\Behavior\DropSourceBehavior.cs (1)
1039
g.
DrawImage
(_dragComponents[i].dragImage, controlRect,