3 overrides of DrawRectangle
PresentationCore (3)
System\Windows\Media\DrawingDrawingContext.cs (1)
152public override void DrawRectangle(
System\Windows\Media\Generated\DrawingContextWalker.cs (1)
88public override void DrawRectangle(
System\Windows\Media\Generated\RenderDataDrawingContext.cs (1)
155public override void DrawRectangle(
221 references to DrawRectangle
PresentationCore (4)
MS\Internal\TextFormatting\LineServicesCallbacks.cs (1)
1382drawingContext.DrawRectangle(
MS\Internal\TextFormatting\SimpleTextLine.cs (1)
1874drawingContext.DrawRectangle(
System\Windows\Media\Generated\DrawingContextDrawingContextWalker.cs (1)
102_drawingContext.DrawRectangle(
System\Windows\Media\GlyphRun.cs (1)
1703dc.DrawRectangle(
PresentationFramework (40)
MS\Internal\Controls\InkCanvasFeedbackAdorner.cs (1)
152drawingContext.DrawRectangle(null, _adornerBorderPen,
MS\Internal\Controls\InkCanvasSelectionAdorner.cs (3)
65dc.DrawRectangle( 206drawingContext.DrawRectangle(null, 231drawingContext.DrawRectangle(_adornerFillBrush, _adornerPenBrush, visibleRect);
MS\Internal\Documents\TextBoxView.cs (1)
540context.DrawRectangle(new SolidColorBrush(Color.FromArgb(0, 0, 0, 0)), null, new Rect(0, 0, this.RenderSize.Width, this.RenderSize.Height));
MS\Internal\Ink\PenCursorManager.cs (1)
265dc.DrawRectangle(db, null, new Rect(0, 0, width, height));
MS\Internal\PtsHost\PageVisual.cs (2)
54dc.DrawRectangle(_backgroundBrush, null, _renderBounds); 58dc.DrawRectangle(Brushes.Transparent, null, _renderBounds);
MS\Internal\PtsHost\ParagraphVisual.cs (2)
97dc.DrawRectangle(null, pen, new Rect( 149dc.DrawRectangle(_backgroundBrush, null,
MS\Internal\PtsHost\TableParaClient.cs (5)
1776dc.DrawRectangle(columnBackgroundBrush, null, colRect); 1795dc.DrawRectangle(columnBackgroundBrush, null, colRect); 1857dc.DrawRectangle(rowGroupBackgroundBrush, null, rowRect); 1875dc.DrawRectangle(rowGroupBackgroundBrush, null, rowRect); 1905dc.DrawRectangle(rowBackgroundBrush, null, rowRect);
System\Windows\Controls\Border.cs (2)
450dc.DrawRectangle( 603dc.DrawRectangle(background, null, new Rect(ptTL, ptBR));
System\Windows\Controls\DataGridCell.cs (2)
877drawingContext.DrawRectangle(DataGridOwner.VerticalGridLinesBrush, null, rect); 886drawingContext.DrawRectangle(dataGrid.HorizontalGridLinesBrush, null, rect);
System\Windows\Controls\Panel.cs (1)
73dc.DrawRectangle(background,
System\Windows\Controls\Primitives\BulletDecorator.cs (1)
203dc.DrawRectangle(background,
System\Windows\Controls\Primitives\DataGridCellsPresenter.cs (1)
489drawingContext.DrawRectangle(dataGrid.HorizontalGridLinesBrush, null, rect);
System\Windows\Controls\Primitives\DataGridDetailsPresenter.cs (1)
298drawingContext.DrawRectangle(dataGrid.HorizontalGridLinesBrush, null, rect);
System\Windows\Controls\Primitives\DocumentPageView.cs (1)
978dc.DrawRectangle(imageBrush, null, pageVisualRect);
System\Windows\Controls\TextBlock.cs (1)
1507ctx.DrawRectangle(background, null, new Rect(0, 0, RenderSize.Width, RenderSize.Height));
System\Windows\Controls\ToolBarTray.cs (1)
336dc.DrawRectangle(background,
System\windows\Documents\CaretElement.cs (2)
683context.DrawRectangle(_caretBrush, null, new Rect(0, 0, _interimWidth, _height)); 696context.DrawRectangle(_caretBrush, null, new Rect(-(_systemCaretWidth / 2), 0, _systemCaretWidth, _height));
System\Windows\Documents\CompositionAdorner.cs (1)
263drawingContext.DrawRectangle(selectionBrush, selectionPen, rect);
System\Windows\Documents\FixedPage.cs (2)
156dc.DrawRectangle(background, 1256dc.DrawRectangle(null, pen , alignmentBox);
System\Windows\Documents\FixedPageStructure.cs (2)
611dc.DrawRectangle(Brushes.CadetBlue, null, imageRect); 655dc.DrawRectangle(null, pen , layoutBox);
System\Windows\Documents\FixedSOMFixedBlock.cs (1)
154dc.DrawRectangle(null, pen , rect);
System\Windows\Documents\FixedSOMGroup.cs (1)
159dc.DrawRectangle(null, pen , rect);
System\Windows\Documents\FixedSOMImage.cs (1)
96dc.DrawRectangle(null, pen , rect);
System\Windows\Documents\FixedSOMTable.cs (1)
46dc.DrawRectangle(null, pen , rect);
System\Windows\Documents\FixedSOMTableCell.cs (1)
48dc.DrawRectangle(null, pen , rect);
System\Windows\Documents\FixedSOMTextRun.cs (1)
191dc.DrawRectangle(null, pen , rect);
System\Windows\Documents\HighlightVisual.cs (1)
110dc.DrawRectangle(SelectionHighlightInfo.ObjectMaskBrush, null, r);
PresentationFramework.Aero (34)
Microsoft\Windows\Themes\BulletChrome.cs (7)
639dc.DrawRectangle(fill, null, backgroundRect); 644dc.DrawRectangle(fill, null, backgroundRect); 675dc.DrawRectangle(innerFill, null, new Rect(bounds.Left + 3.0, bounds.Top + 3.0, bounds.Width - 6.0, bounds.Height - 6.0)); 682dc.DrawRectangle(null, innerBorder, new Rect(bounds.Left + 2.5, bounds.Top + 2.5, bounds.Width - 5.0, bounds.Height - 5.0)); 725dc.DrawRectangle(null, HighlightStroke, new Rect(3.5, 3.5, 6, 6)); 754dc.DrawRectangle(null, pen, rect); 757dc.DrawRectangle(null, overlayPen, rect);
Microsoft\Windows\Themes\ButtonChrome.cs (4)
503dc.DrawRectangle(fill, null, backgroundRect); 508dc.DrawRectangle(fill, null, backgroundRect); 521dc.DrawRectangle(leftShadow, null, new Rect(1.0, 1.0, 2.0, bounds.Bottom - 2.0)); 528dc.DrawRectangle(topShadow, null, new Rect(1.0, 1.0, bounds.Right - 2.0, 2.0));
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (8)
86dc.DrawRectangle(bevel, null, new Rect(0.0, 0.0, size.Width, size.Height)); 147dc.DrawRectangle(background, null, new Rect(0.0, 0.0, size.Width, size.Height)); 221dc.DrawRectangle(sideBrush, null, new Rect(0.0, 0.0, 1.0, Max0(size.Height - 0.95))); 222dc.DrawRectangle(sideBrush, null, new Rect(size.Width - 1.0, 0.0, 1.0, Max0(size.Height - 0.95))); 244dc.DrawRectangle(topBrush, null, new Rect(0.0, 0.0, size.Width, 2.0)); 261dc.DrawRectangle(pressedBevel, null, new Rect(1.0, 0.0, 1.0, size.Height - 0.95)); 262dc.DrawRectangle(pressedBevel, null, new Rect(size.Width - 2.0, 0.0, 1.0, size.Height - 0.95)); 305dc.DrawRectangle(bottomBrush, null, new Rect(0.0, size.Height - 1.0, size.Width, 1.0));
Microsoft\Windows\Themes\ListBoxChrome.cs (1)
338dc.DrawRectangle(fill, null, backgroundRect);
Microsoft\Windows\Themes\ProgressBarHighlightConverter.cs (1)
82myDrawingContext.DrawRectangle(brush, null, new Rect(-width, 0, width, height));
Microsoft\Windows\Themes\ScrollChrome.cs (4)
551dc.DrawRectangle(glyphShadow, null, new Rect(x + i - 0.5, y - 0.5, 3.0, shadowHeight)); 554dc.DrawRectangle(brush, null, new Rect(x + i, y, 2.0, height)); 574dc.DrawRectangle(glyphShadow, null, new Rect(x - 0.5, y + i - 0.5, shadowWidth, 3.0)); 577dc.DrawRectangle(brush, null, new Rect(x, y + i, width, 2.0));
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (9)
158drawingContext.DrawRectangle(brushes[TopLeft], null, topLeft); 164drawingContext.DrawRectangle(brushes[Top], null, top); 168drawingContext.DrawRectangle(brushes[TopRight], null, topRight); 175drawingContext.DrawRectangle(brushes[Left], null, left); 182drawingContext.DrawRectangle(brushes[Right], null, right); 187drawingContext.DrawRectangle(brushes[BottomLeft], null, bottomLeft); 193drawingContext.DrawRectangle(brushes[Bottom], null, bottom); 197drawingContext.DrawRectangle(brushes[BottomRight], null, bottomRight); 214drawingContext.DrawRectangle(brushes[Center], null, center);
PresentationFramework.Aero2 (34)
Microsoft\Windows\Themes\BulletChrome.cs (7)
639dc.DrawRectangle(fill, null, backgroundRect); 644dc.DrawRectangle(fill, null, backgroundRect); 675dc.DrawRectangle(innerFill, null, new Rect(bounds.Left + 3.0, bounds.Top + 3.0, bounds.Width - 6.0, bounds.Height - 6.0)); 682dc.DrawRectangle(null, innerBorder, new Rect(bounds.Left + 2.5, bounds.Top + 2.5, bounds.Width - 5.0, bounds.Height - 5.0)); 725dc.DrawRectangle(null, HighlightStroke, new Rect(3.5, 3.5, 6, 6)); 754dc.DrawRectangle(null, pen, rect); 757dc.DrawRectangle(null, overlayPen, rect);
Microsoft\Windows\Themes\ButtonChrome.cs (4)
503dc.DrawRectangle(fill, null, backgroundRect); 508dc.DrawRectangle(fill, null, backgroundRect); 521dc.DrawRectangle(leftShadow, null, new Rect(1.0, 1.0, 2.0, bounds.Bottom - 2.0)); 528dc.DrawRectangle(topShadow, null, new Rect(1.0, 1.0, bounds.Right - 2.0, 2.0));
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (8)
86dc.DrawRectangle(bevel, null, new Rect(0.0, 0.0, size.Width, size.Height)); 147dc.DrawRectangle(background, null, new Rect(0.0, 0.0, size.Width, size.Height)); 221dc.DrawRectangle(sideBrush, null, new Rect(0.0, 0.0, 1.0, Max0(size.Height - 0.95))); 222dc.DrawRectangle(sideBrush, null, new Rect(size.Width - 1.0, 0.0, 1.0, Max0(size.Height - 0.95))); 244dc.DrawRectangle(topBrush, null, new Rect(0.0, 0.0, size.Width, 2.0)); 261dc.DrawRectangle(pressedBevel, null, new Rect(1.0, 0.0, 1.0, size.Height - 0.95)); 262dc.DrawRectangle(pressedBevel, null, new Rect(size.Width - 2.0, 0.0, 1.0, size.Height - 0.95)); 305dc.DrawRectangle(bottomBrush, null, new Rect(0.0, size.Height - 1.0, size.Width, 1.0));
Microsoft\Windows\Themes\ListBoxChrome.cs (1)
338dc.DrawRectangle(fill, null, backgroundRect);
Microsoft\Windows\Themes\ProgressBarHighlightConverter.cs (1)
82myDrawingContext.DrawRectangle(brush, null, new Rect(-width, 0, width, height));
Microsoft\Windows\Themes\ScrollChrome.cs (4)
551dc.DrawRectangle(glyphShadow, null, new Rect(x + i - 0.5, y - 0.5, 3.0, shadowHeight)); 554dc.DrawRectangle(brush, null, new Rect(x + i, y, 2.0, height)); 574dc.DrawRectangle(glyphShadow, null, new Rect(x - 0.5, y + i - 0.5, shadowWidth, 3.0)); 577dc.DrawRectangle(brush, null, new Rect(x, y + i, width, 2.0));
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (9)
158drawingContext.DrawRectangle(brushes[TopLeft], null, topLeft); 164drawingContext.DrawRectangle(brushes[Top], null, top); 168drawingContext.DrawRectangle(brushes[TopRight], null, topRight); 175drawingContext.DrawRectangle(brushes[Left], null, left); 182drawingContext.DrawRectangle(brushes[Right], null, right); 187drawingContext.DrawRectangle(brushes[BottomLeft], null, bottomLeft); 193drawingContext.DrawRectangle(brushes[Bottom], null, bottom); 197drawingContext.DrawRectangle(brushes[BottomRight], null, bottomRight); 214drawingContext.DrawRectangle(brushes[Center], null, center);
PresentationFramework.AeroLite (22)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (7)
102dc.DrawRectangle(background, null, new Rect(0.0, 0.0, size.Width, size.Height)); 154dc.DrawRectangle(sideBrush, null, new Rect(0.0, 0.0, 1.0, size.Height)); // left 158dc.DrawRectangle(sideBrush, null, new Rect(size.Width - 0.0, 0.0, 1.0, size.Height)); // right 165dc.DrawRectangle(sideBrush, null, new Rect(-1.0, 0.0, 1.0, size.Height)); // left 168dc.DrawRectangle(sideBrush, null, new Rect(size.Width - 1.0, 0.0, 1.0, size.Height)); // right 174dc.DrawRectangle(sideBrush, null, new Rect(0.0, 0.0, size.Width, 1.0)); // top 175dc.DrawRectangle(sideBrush, null, new Rect(0.0, size.Height - 1.0, size.Width, 1.0)); // bottom
Microsoft\Windows\Themes\ScrollChrome.cs (3)
213dc.DrawRectangle( 253dc.DrawRectangle(brush, null, new Rect(x + i, y, 2.0, height)); 268dc.DrawRectangle(brush, null, new Rect(x, y + i, width, 2.0));
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\ProgressBarBrushConverter.cs (3)
134myDrawingContext.DrawRectangle( 151myDrawingContext.DrawRectangle( 164myDrawingContext.DrawRectangle(
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (9)
158drawingContext.DrawRectangle(brushes[TopLeft], null, topLeft); 164drawingContext.DrawRectangle(brushes[Top], null, top); 168drawingContext.DrawRectangle(brushes[TopRight], null, topRight); 175drawingContext.DrawRectangle(brushes[Left], null, left); 182drawingContext.DrawRectangle(brushes[Right], null, right); 187drawingContext.DrawRectangle(brushes[BottomLeft], null, bottomLeft); 193drawingContext.DrawRectangle(brushes[Bottom], null, bottom); 197drawingContext.DrawRectangle(brushes[BottomRight], null, bottomRight); 214drawingContext.DrawRectangle(brushes[Center], null, center);
PresentationFramework.Classic (33)
Microsoft\Windows\Themes\ClassicBorderDecorator.cs (10)
834drawingContext.DrawRectangle(background, null, bounds); 941dc.DrawRectangle(borderBrush, null, bounds); 953dc.DrawRectangle(borderBrush, null, new Rect(bounds.Left, bounds.Top, bounds.Width, borderThickness.Top)); 959dc.DrawRectangle(borderBrush, null, new Rect(bounds.Left, bounds.Top, borderThickness.Left, bounds.Height)); 965dc.DrawRectangle(borderBrush, null, new Rect(bounds.Right - borderThickness.Right, bounds.Top, borderThickness.Right, bounds.Height)); 971dc.DrawRectangle(borderBrush, null, new Rect(bounds.Left, bounds.Bottom - borderThickness.Bottom, bounds.Width, borderThickness.Bottom)); 1037dc.DrawRectangle(DarkBrush, null, new Rect(bounds.Left, bounds.Top, bounds.Width, singleThickness.Top)); 1038dc.DrawRectangle(LightLightBrush, null, new Rect(bounds.Left, bounds.Bottom - singleThickness.Bottom, bounds.Width, singleThickness.Bottom)); 1050dc.DrawRectangle(DarkBrush, null, new Rect(bounds.Left, bounds.Top, singleThickness.Left, bounds.Height)); 1051dc.DrawRectangle(LightLightBrush, null, new Rect(bounds.Right - singleThickness.Right, bounds.Top, singleThickness.Right, bounds.Height));
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (11)
100dc.DrawRectangle(background, null, new Rect(0.0, 0.0, size.Width, size.Height)); 107dc.DrawRectangle(dark, null, new Rect(0.0, 0.0, size.Width, 1.0)); 108dc.DrawRectangle(dark, null, new Rect(0.0, 0.0, 1.0, size.Height)); 109dc.DrawRectangle(dark, null, new Rect(0.0, Max0(size.Height - 1.0), size.Width, 1.0)); 110dc.DrawRectangle(dark, null, new Rect(Max0(size.Width - 1.0), 0.0, 1.0, size.Height)); 114dc.DrawRectangle(light, null, new Rect(0.0, 0.0, 1.0, Max0(size.Height - 1.0))); 115dc.DrawRectangle(light, null, new Rect(0.0, 0.0, Max0(size.Width - 1.0), 1.0)); 121dc.DrawRectangle(dark, null, new Rect(Max0(size.Width - 2.0), 1.0, 1.0, Max0(size.Height - 2.0))); 124dc.DrawRectangle(darkDarkRight, null, new Rect(Max0(size.Width - 1.0), 0.0, 1.0, size.Height)); 131dc.DrawRectangle(dark, null, new Rect(1.0, Max0(size.Height - 2.0), Max0(size.Width - 2.0), 1.0)); 134dc.DrawRectangle(darkDarkBottom, null, new Rect(0.0, Max0(size.Height - 1.0), size.Width, 1.0));
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\ProgressBarBrushConverter.cs (3)
134myDrawingContext.DrawRectangle( 151myDrawingContext.DrawRectangle( 164myDrawingContext.DrawRectangle(
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (9)
158drawingContext.DrawRectangle(brushes[TopLeft], null, topLeft); 164drawingContext.DrawRectangle(brushes[Top], null, top); 168drawingContext.DrawRectangle(brushes[TopRight], null, topRight); 175drawingContext.DrawRectangle(brushes[Left], null, left); 182drawingContext.DrawRectangle(brushes[Right], null, right); 187drawingContext.DrawRectangle(brushes[BottomLeft], null, bottomLeft); 193drawingContext.DrawRectangle(brushes[Bottom], null, bottom); 197drawingContext.DrawRectangle(brushes[BottomRight], null, bottomRight); 214drawingContext.DrawRectangle(brushes[Center], null, center);
PresentationFramework.Luna (24)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (4)
165dc.DrawRectangle(background, null, new Rect(0.0, 0.0, size.Width, size.Height)); 252dc.DrawRectangle(border, null, new Rect(0.0, 0.0, 1.0, size.Height)); 253dc.DrawRectangle(border, null, new Rect(0.0, Max0(size.Height - 1.0), size.Width, 1.0)); 300dc.DrawRectangle(sideBrush, null, new Rect(horizontal ? 0.0 : Max0(size.Width - 2.0), 4.0, 2.0, Max0(size.Height - 8.0)));
Microsoft\Windows\Themes\ScrollChrome.cs (4)
391dc.DrawRectangle(brush, null, new Rect(x + i, y, 1.0, height)); 394dc.DrawRectangle(glyphShadow, null, new Rect(x + i + 1, y + 1, 1.0, height)); 413dc.DrawRectangle(brush, null, new Rect(x, y + i, width, 1.0)); 416dc.DrawRectangle(glyphShadow, null, new Rect(x + 1, y + i + 1, width, 1.0));
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\BulletChrome.cs (4)
242dc.DrawRectangle(fill, null, bounds); 265dc.DrawRectangle(null, highlightPen, new Rect(bounds.Left + 1.0, bounds.Top + 1.0, bounds.Width - 2.0, bounds.Height - 2.0)); 313dc.DrawRectangle(glyphFill, null, new Rect(bounds.Left + 2, bounds.Top + 2, bounds.Width - 4.0, bounds.Height - 4.0)); 346dc.DrawRectangle(null, borderPen, rect);
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\ProgressBarBrushConverter.cs (3)
134myDrawingContext.DrawRectangle( 151myDrawingContext.DrawRectangle( 164myDrawingContext.DrawRectangle(
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (9)
158drawingContext.DrawRectangle(brushes[TopLeft], null, topLeft); 164drawingContext.DrawRectangle(brushes[Top], null, top); 168drawingContext.DrawRectangle(brushes[TopRight], null, topRight); 175drawingContext.DrawRectangle(brushes[Left], null, left); 182drawingContext.DrawRectangle(brushes[Right], null, right); 187drawingContext.DrawRectangle(brushes[BottomLeft], null, bottomLeft); 193drawingContext.DrawRectangle(brushes[Bottom], null, bottom); 197drawingContext.DrawRectangle(brushes[BottomRight], null, bottomRight); 214drawingContext.DrawRectangle(brushes[Center], null, center);
PresentationFramework.Royale (24)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (4)
94dc.DrawRectangle(background, null, new Rect(0.0, 0.0, size.Width, size.Height)); 174dc.DrawRectangle(border, null, new Rect(0.0, 0.0, 1.0, size.Height)); 175dc.DrawRectangle(border, null, new Rect(0.0, Max0(size.Height - 1.0), size.Width, 1.0)); 222dc.DrawRectangle(sideBrush, null, new Rect(horizontal ? 0.0 : Max0(size.Width - 2.0), 4.0, 2.0, Max0(size.Height - 8.0)));
Microsoft\Windows\Themes\ScrollChrome.cs (4)
351dc.DrawRectangle(brush, null, new Rect(x + i, y, 1.0, height)); 354dc.DrawRectangle(glyphShadow, null, new Rect(x + i + 1, y + 1, 1.0, height)); 373dc.DrawRectangle(brush, null, new Rect(x, y + i, width, 1.0)); 376dc.DrawRectangle(glyphShadow, null, new Rect(x + 1, y + i + 1, width, 1.0));
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\BulletChrome.cs (4)
242dc.DrawRectangle(fill, null, bounds); 265dc.DrawRectangle(null, highlightPen, new Rect(bounds.Left + 1.0, bounds.Top + 1.0, bounds.Width - 2.0, bounds.Height - 2.0)); 313dc.DrawRectangle(glyphFill, null, new Rect(bounds.Left + 2, bounds.Top + 2, bounds.Width - 4.0, bounds.Height - 4.0)); 346dc.DrawRectangle(null, borderPen, rect);
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\ProgressBarBrushConverter.cs (3)
134myDrawingContext.DrawRectangle( 151myDrawingContext.DrawRectangle( 164myDrawingContext.DrawRectangle(
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (9)
158drawingContext.DrawRectangle(brushes[TopLeft], null, topLeft); 164drawingContext.DrawRectangle(brushes[Top], null, top); 168drawingContext.DrawRectangle(brushes[TopRight], null, topRight); 175drawingContext.DrawRectangle(brushes[Left], null, left); 182drawingContext.DrawRectangle(brushes[Right], null, right); 187drawingContext.DrawRectangle(brushes[BottomLeft], null, bottomLeft); 193drawingContext.DrawRectangle(brushes[Bottom], null, bottom); 197drawingContext.DrawRectangle(brushes[BottomRight], null, bottomRight); 214drawingContext.DrawRectangle(brushes[Center], null, center);
ReachFramework (5)
AlphaFlattener\BrushProxy.cs (3)
3604ctx.DrawRectangle(new SolidColorBrush(brush.BeforeFill), null, rect); 3607ctx.DrawRectangle(b, null, rect); 3611ctx.DrawRectangle(new SolidColorBrush(brush.AfterFill), null, rect);
AlphaFlattener\Flattener.cs (2)
1038ctx.DrawRectangle(null, black, pi.bounds); 1054ctx.DrawRectangle(null, pen, transparentCluster[i].DebugBounds);
WindowsFormsIntegration (1)
System\Windows\Integration\HostUtils.cs (1)
337drawingContext.DrawRectangle(brush, null, new Rect(0, 0, adapter.Width, adapter.Height));