33 references to FillRectangle
System.Drawing.Common.Tests (3)
mono\System.Drawing\GraphicsTests.cs (1)
871
g.
FillRectangle
(brush, 5, 5, -10, -10);
System\Drawing\Imaging\ImageAttributesTests.cs (2)
133
graphicsSmallBitmap.
FillRectangle
(Brushes.White, 0, 0, 100, 100);
135
graphicsBigBitmap.
FillRectangle
(Brushes.White, 0, 0, 200, 100);
System.Windows.Forms (28)
System\Windows\Forms\Controls\DataGridView\DataGridViewCell.cs (2)
3162
graphics.
FillRectangle
(
3197
graphics.
FillRectangle
(
System\Windows\Forms\Controls\DataGridView\DataGridViewComboBoxCell.cs (3)
1955
g.
FillRectangle
(brush!, valBounds.Left, valBounds.Top, valBounds.Width, valBounds.Height);
1973
g.
FillRectangle
(brush!, valBounds.Left + 1, valBounds.Top + 1, valBounds.Width - 2, valBounds.Height - 2);
1984
g.
FillRectangle
(brush!, valBounds.Left, valBounds.Top, valBounds.Width, valBounds.Height);
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridEntry.cs (4)
1543
g.
FillRectangle
(backBrush, borderWidth - 1, rect.Y, totalWidth - borderWidth + 3, rect.Height);
1555
g.
FillRectangle
(backBrush, rect.X, rect.Y, rect.Width, rect.Height);
1560
g.
FillRectangle
(stripeBrush, rect.X, rect.Y, borderWidth, rect.Height);
1565
g.
FillRectangle
(
System\Windows\Forms\Controls\ToolStrips\ToolstripProfessionalRenderer.cs (9)
933
g.
FillRectangle
(brush, toolStrip.Width - 1, toolStrip.Height - 2, 1, 1);
934
g.
FillRectangle
(brush, toolStrip.Width - 2, toolStrip.Height - 1, 1, 1);
939
g.
FillRectangle
(brush, toolStrip.Width - 2, 0, 1, 1);
940
g.
FillRectangle
(brush, toolStrip.Width - 1, 1, 1, 1);
1307
g.
FillRectangle
(brush, top1.X, top1.Y, 1, 1);
1308
g.
FillRectangle
(brush, top2.X, top2.Y, 1, 1);
1312
g.
FillRectangle
(brush, overflowBoundsFill.Width - 3, overflowBoundsFill.Top - 1, 1, 1);
1313
g.
FillRectangle
(brush, overflowBoundsFill.Width - 2, overflowBoundsFill.Top - 2, 1, 1);
1331
g.
FillRectangle
(brush, overflowBoundsFill.X, overflowBoundsFill.Top - 1, 1, 1);
System\Windows\Forms\Controls\ToolStrips\ToolStripSystemDarkModeRenderer.cs (4)
536
g.
FillRectangle
(darkColorBrush, bounds.Left + 2, y, 1, 1);
537
g.
FillRectangle
(lightColorBrush, bounds.Left + 3, y + 1, 1, 1);
549
g.
FillRectangle
(darkColorBrush, x, bounds.Top + 2, 1, 1);
550
g.
FillRectangle
(lightColorBrush, x + 1, bounds.Top + 3, 1, 1);
System\Windows\Forms\Controls\ToolStrips\ToolStripTextBox.ToolStripTextBoxControl.cs (4)
258
g.
FillRectangle
(brush, 0, 0, Width, clientRect.Top); // top border
259
g.
FillRectangle
(brush, 0, 0, clientRect.Left, Height); // left border
260
g.
FillRectangle
(brush, 0, clientRect.Bottom, Width, Height - clientRect.Height); // bottom border
261
g.
FillRectangle
(brush, clientRect.Right, 0, Width - clientRect.Right, Height); // right border
System\Windows\Forms\Rendering\ControlPaint.cs (2)
223
graphics.
FillRectangle
(brush, 0, 0, size.Width, size.Height);
1277
graphics.
FillRectangle
(brush, bounds.Left + 1, bounds.Top + 1, bounds.Width - 2, bounds.Height - 2);
System.Windows.Forms.Design (2)
System\ComponentModel\Design\DesignerActionPanel.PanelHeaderLine.cs (1)
102
g.
FillRectangle
(b, 1, 1, lineWidth - 2, lineHeight - 1);
System\Windows\Forms\Design\DesignerUtils.cs (1)
122
g.
FillRectangle
(new SolidBrush(SystemColors.InactiveBorder), 0, 0, s_boxImageSize, s_boxImageSize);