24 references to DrawImage
System.Drawing.Common.Tests (5)
mono\System.Drawing\GraphicsTests.cs (5)
2472
Assert.Throws<ArgumentNullException>(() => g.
DrawImage
(null, new Rectangle(0, 0, 0, 0)));
2482
g.
DrawImage
(bmp, new Rectangle(0, 0, 0, 0));
2484
g.
DrawImage
(bmp, new Rectangle(20, 40, 0, 0));
2486
g.
DrawImage
(bmp, new Rectangle(10, 20, -1, 0));
2487
g.
DrawImage
(bmp, new Rectangle(20, 10, 0, -1));
System.Windows.Forms (15)
System\Windows\Forms\Controls\Buttons\ButtonRenderer.cs (2)
187
g.
DrawImage
(image, imageBounds);
266
graphics.
DrawImage
(image, imageBounds);
System\Windows\Forms\Controls\Buttons\CheckBoxRenderer.cs (1)
206
g.
DrawImage
(image, imageBounds);
System\Windows\Forms\Controls\Buttons\RadioButtonRenderer.cs (1)
235
g.
DrawImage
(image, imageBounds);
System\Windows\Forms\Controls\DataGridView\DataGridViewImageCell.cs (1)
873
g.
DrawImage
(image, imageBounds2);
System\Windows\Forms\Controls\PictureBox\PictureBox.cs (1)
1137
pe.Graphics.
DrawImage
(_image, drawingRect);
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyDescriptorGridEntry.cs (1)
541
g.
DrawImage
(_propertyValueUIItems[i].Image, _uiItemRects[i]);
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.DropDownHolder.cs (1)
511
e.Graphics.
DrawImage
(GetSizeGripGlyph(e.Graphics), lRect);
System\Windows\Forms\Controls\ToolStrips\ToolstripProfessionalRenderer.cs (1)
773
e.Graphics.
DrawImage
(image, imageRect);
System\Windows\Forms\Controls\ToolStrips\ToolStripRenderer.cs (2)
801
e.Graphics.
DrawImage
(image, imageRect);
884
g.
DrawImage
(textBmp, textRect);
System\Windows\Forms\Printing\PrintPreviewControl.cs (1)
695
g.
DrawImage
(pages[i + StartPage].Image, box);
System\Windows\Forms\Rendering\ControlPaint.cs (1)
469
g.
DrawImage
(backgroundImage, imageRectangle);
System\Windows\Forms\VisualStyles\VisualStyleRenderer.cs (2)
307
g.
DrawImage
(image, bounds);
327
g.
DrawImage
(imageList.Images[imageIndex], bounds);
System.Windows.Forms.Design (4)
System\Drawing\Design\ImageEditor.cs (1)
180
e.Graphics.
DrawImage
(image, e.Bounds);
System\Windows\Forms\Design\Behavior\ContainerSelectorGlyph.cs (1)
51
pe.Graphics.
DrawImage
(_glyph, _glyphBounds);
System\Windows\Forms\Design\ComponentTray.cs (2)
2290
e.Graphics.
DrawImage
(_toolboxBitmap, new Rectangle(x, y, _cxIcon, _cyIcon));
2302
e.Graphics.
DrawImage
(_toolboxBitmap, new Rectangle(rc.X, y, _cxIcon, _cyIcon));