16 references to SetClip
System.Drawing.Common.Tests (2)
mono\System.Drawing\GraphicsTests.cs (1)
267
g.
SetClip
(new Rectangle(50, 40, 210, 220));
System\Drawing\Graphics_GetContextTests.Core.cs (1)
121
graphics.
SetClip
(new Rectangle(1, 2, 9, 10));
System.Windows.Forms (9)
System\Windows\Forms\Control.cs (1)
11774
bufferedGraphics.Graphics.
SetClip
(clip);
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (4)
16683
g.
SetClip
(gridRect);
19412
g.
SetClip
(rowRect);
19488
g.
SetClip
(_layout.TopLeftHeader);
19505
g.
SetClip
(columnHeadersClip);
System\Windows\Forms\Controls\DataGridView\DataGridViewImageCell.cs (1)
867
g.
SetClip
(Rectangle.Intersect(
System\Windows\Forms\Controls\DataGridView\DataGridViewRow.cs (1)
1599
graphics.
SetClip
(rowRect);
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridEntry.cs (1)
1582
g.
SetClip
(textRect);
System\Windows\Forms\Printing\PrintPreviewControl.cs (1)
617
g.
SetClip
(rect);
System.Windows.Forms.Design (5)
System\ComponentModel\Design\DesignerActionPanel.cs (1)
508
g.
SetClip
(new Rectangle(0, yPos, lineWidth, lineHeight));
System\Windows\Forms\Design\Behavior\DropSourceBehavior.cs (2)
206
_graphicsTarget?.
SetClip
(rect);
815
_graphicsTarget.
SetClip
(newImageRect);
System\Windows\Forms\Design\Behavior\ResizeBehavior.cs (1)
385
graphics.
SetClip
(borderRect);
System\Windows\Forms\Design\ParentControlDesigner.cs (1)
1787
_graphics.
SetClip
(frameRect);