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