3 overrides of DrawRectangle
PresentationCore (3)
System\Windows\Media\DrawingDrawingContext.cs (1)
135public override void DrawRectangle(
System\Windows\Media\Generated\DrawingContextWalker.cs (1)
73public override void DrawRectangle(
System\Windows\Media\Generated\RenderDataDrawingContext.cs (1)
138public override void DrawRectangle(
221 references to DrawRectangle
PresentationCore (4)
MS\Internal\TextFormatting\LineServicesCallbacks.cs (1)
1354drawingContext.DrawRectangle(
MS\Internal\TextFormatting\SimpleTextLine.cs (1)
1869drawingContext.DrawRectangle(
System\Windows\Media\Generated\DrawingContextDrawingContextWalker.cs (1)
87_drawingContext.DrawRectangle(
System\Windows\Media\GlyphRun.cs (1)
1677dc.DrawRectangle(
PresentationFramework (40)
MS\Internal\Controls\InkCanvasFeedbackAdorner.cs (1)
149drawingContext.DrawRectangle(null, _adornerBorderPen,
MS\Internal\Controls\InkCanvasSelectionAdorner.cs (3)
58dc.DrawRectangle( 203drawingContext.DrawRectangle(null, 228drawingContext.DrawRectangle(_adornerFillBrush, _adornerPenBrush, visibleRect);
MS\Internal\Documents\TextBoxView.cs (1)
538context.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)
262dc.DrawRectangle(db, null, new Rect(0, 0, width, height));
MS\Internal\PtsHost\PageVisual.cs (2)
49dc.DrawRectangle(_backgroundBrush, null, _renderBounds); 53dc.DrawRectangle(Brushes.Transparent, null, _renderBounds);
MS\Internal\PtsHost\ParagraphVisual.cs (2)
98dc.DrawRectangle(null, pen, new Rect( 156dc.DrawRectangle(_backgroundBrush, null,
MS\Internal\PtsHost\TableParaClient.cs (5)
1770dc.DrawRectangle(columnBackgroundBrush, null, colRect); 1789dc.DrawRectangle(columnBackgroundBrush, null, colRect); 1851dc.DrawRectangle(rowGroupBackgroundBrush, null, rowRect); 1869dc.DrawRectangle(rowGroupBackgroundBrush, null, rowRect); 1899dc.DrawRectangle(rowBackgroundBrush, null, rowRect);
System\Windows\Controls\Border.cs (2)
448dc.DrawRectangle( 607dc.DrawRectangle(background, null, new Rect(ptTL, ptBR));
System\Windows\Controls\DataGridCell.cs (2)
872drawingContext.DrawRectangle(DataGridOwner.VerticalGridLinesBrush, null, rect); 883drawingContext.DrawRectangle(dataGrid.HorizontalGridLinesBrush, null, rect);
System\Windows\Controls\Panel.cs (1)
66dc.DrawRectangle(background,
System\Windows\Controls\Primitives\BulletDecorator.cs (1)
197dc.DrawRectangle(background,
System\Windows\Controls\Primitives\DataGridCellsPresenter.cs (1)
486drawingContext.DrawRectangle(dataGrid.HorizontalGridLinesBrush, null, rect);
System\Windows\Controls\Primitives\DataGridDetailsPresenter.cs (1)
296drawingContext.DrawRectangle(dataGrid.HorizontalGridLinesBrush, null, rect);
System\Windows\Controls\Primitives\DocumentPageView.cs (1)
978dc.DrawRectangle(imageBrush, null, pageVisualRect);
System\Windows\Controls\TextBlock.cs (1)
1495ctx.DrawRectangle(background, null, new Rect(0, 0, RenderSize.Width, RenderSize.Height));
System\Windows\Controls\ToolBarTray.cs (1)
328dc.DrawRectangle(background,
System\windows\Documents\CaretElement.cs (2)
679context.DrawRectangle(_caretBrush, null, new Rect(0, 0, _interimWidth, _height)); 692context.DrawRectangle(_caretBrush, null, new Rect(-(_systemCaretWidth / 2), 0, _systemCaretWidth, _height));
System\Windows\Documents\CompositionAdorner.cs (1)
260drawingContext.DrawRectangle(selectionBrush, selectionPen, rect);
System\Windows\Documents\FixedPage.cs (2)
150dc.DrawRectangle(background, 1250dc.DrawRectangle(null, pen , alignmentBox);
System\Windows\Documents\FixedPageStructure.cs (2)
605dc.DrawRectangle(Brushes.CadetBlue, null, imageRect); 649dc.DrawRectangle(null, pen , layoutBox);
System\Windows\Documents\FixedSOMFixedBlock.cs (1)
150dc.DrawRectangle(null, pen , rect);
System\Windows\Documents\FixedSOMGroup.cs (1)
155dc.DrawRectangle(null, pen , rect);
System\Windows\Documents\FixedSOMImage.cs (1)
94dc.DrawRectangle(null, pen , rect);
System\Windows\Documents\FixedSOMTable.cs (1)
41dc.DrawRectangle(null, pen , rect);
System\Windows\Documents\FixedSOMTableCell.cs (1)
44dc.DrawRectangle(null, pen , rect);
System\Windows\Documents\FixedSOMTextRun.cs (1)
189dc.DrawRectangle(null, pen , rect);
System\Windows\Documents\HighlightVisual.cs (1)
100dc.DrawRectangle(SelectionHighlightInfo.ObjectMaskBrush, null, r);
PresentationFramework.Aero (34)
Microsoft\Windows\Themes\BulletChrome.cs (7)
647dc.DrawRectangle(fill, null, backgroundRect); 652dc.DrawRectangle(fill, null, backgroundRect); 683dc.DrawRectangle(innerFill, null, new Rect(bounds.Left + 3.0, bounds.Top + 3.0, bounds.Width - 6.0, bounds.Height - 6.0)); 690dc.DrawRectangle(null, innerBorder, new Rect(bounds.Left + 2.5, bounds.Top + 2.5, bounds.Width - 5.0, bounds.Height - 5.0)); 733dc.DrawRectangle(null, HighlightStroke, new Rect(3.5, 3.5, 6, 6)); 762dc.DrawRectangle(null, pen, rect); 765dc.DrawRectangle(null, overlayPen, rect);
Microsoft\Windows\Themes\ButtonChrome.cs (4)
505dc.DrawRectangle(fill, null, backgroundRect); 510dc.DrawRectangle(fill, null, backgroundRect); 523dc.DrawRectangle(leftShadow, null, new Rect(1.0, 1.0, 2.0, bounds.Bottom - 2.0)); 530dc.DrawRectangle(topShadow, null, new Rect(1.0, 1.0, bounds.Right - 2.0, 2.0));
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (8)
85dc.DrawRectangle(bevel, null, new Rect(0.0, 0.0, size.Width, size.Height)); 148dc.DrawRectangle(background, null, new Rect(0.0, 0.0, size.Width, size.Height)); 224dc.DrawRectangle(sideBrush, null, new Rect(0.0, 0.0, 1.0, Max0(size.Height - 0.95))); 225dc.DrawRectangle(sideBrush, null, new Rect(size.Width - 1.0, 0.0, 1.0, Max0(size.Height - 0.95))); 249dc.DrawRectangle(topBrush, null, new Rect(0.0, 0.0, size.Width, 2.0)); 268dc.DrawRectangle(pressedBevel, null, new Rect(1.0, 0.0, 1.0, size.Height - 0.95)); 269dc.DrawRectangle(pressedBevel, null, new Rect(size.Width - 2.0, 0.0, 1.0, size.Height - 0.95)); 312dc.DrawRectangle(bottomBrush, null, new Rect(0.0, size.Height - 1.0, size.Width, 1.0));
Microsoft\Windows\Themes\ListBoxChrome.cs (1)
334dc.DrawRectangle(fill, null, backgroundRect);
Microsoft\Windows\Themes\ProgressBarHighlightConverter.cs (1)
80myDrawingContext.DrawRectangle(brush, null, new Rect(-width, 0, width, height));
Microsoft\Windows\Themes\ScrollChrome.cs (4)
554dc.DrawRectangle(glyphShadow, null, new Rect(x + i - 0.5, y - 0.5, 3.0, shadowHeight)); 557dc.DrawRectangle(brush, null, new Rect(x + i, y, 2.0, height)); 577dc.DrawRectangle(glyphShadow, null, new Rect(x - 0.5, y + i - 0.5, shadowWidth, 3.0)); 580dc.DrawRectangle(brush, null, new Rect(x, y + i, width, 2.0));
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (9)
154drawingContext.DrawRectangle(brushes[TopLeft], null, topLeft); 160drawingContext.DrawRectangle(brushes[Top], null, top); 164drawingContext.DrawRectangle(brushes[TopRight], null, topRight); 171drawingContext.DrawRectangle(brushes[Left], null, left); 178drawingContext.DrawRectangle(brushes[Right], null, right); 183drawingContext.DrawRectangle(brushes[BottomLeft], null, bottomLeft); 189drawingContext.DrawRectangle(brushes[Bottom], null, bottom); 193drawingContext.DrawRectangle(brushes[BottomRight], null, bottomRight); 210drawingContext.DrawRectangle(brushes[Center], null, center);
PresentationFramework.Aero2 (34)
Microsoft\Windows\Themes\BulletChrome.cs (7)
647dc.DrawRectangle(fill, null, backgroundRect); 652dc.DrawRectangle(fill, null, backgroundRect); 683dc.DrawRectangle(innerFill, null, new Rect(bounds.Left + 3.0, bounds.Top + 3.0, bounds.Width - 6.0, bounds.Height - 6.0)); 690dc.DrawRectangle(null, innerBorder, new Rect(bounds.Left + 2.5, bounds.Top + 2.5, bounds.Width - 5.0, bounds.Height - 5.0)); 733dc.DrawRectangle(null, HighlightStroke, new Rect(3.5, 3.5, 6, 6)); 762dc.DrawRectangle(null, pen, rect); 765dc.DrawRectangle(null, overlayPen, rect);
Microsoft\Windows\Themes\ButtonChrome.cs (4)
505dc.DrawRectangle(fill, null, backgroundRect); 510dc.DrawRectangle(fill, null, backgroundRect); 523dc.DrawRectangle(leftShadow, null, new Rect(1.0, 1.0, 2.0, bounds.Bottom - 2.0)); 530dc.DrawRectangle(topShadow, null, new Rect(1.0, 1.0, bounds.Right - 2.0, 2.0));
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (8)
85dc.DrawRectangle(bevel, null, new Rect(0.0, 0.0, size.Width, size.Height)); 148dc.DrawRectangle(background, null, new Rect(0.0, 0.0, size.Width, size.Height)); 224dc.DrawRectangle(sideBrush, null, new Rect(0.0, 0.0, 1.0, Max0(size.Height - 0.95))); 225dc.DrawRectangle(sideBrush, null, new Rect(size.Width - 1.0, 0.0, 1.0, Max0(size.Height - 0.95))); 249dc.DrawRectangle(topBrush, null, new Rect(0.0, 0.0, size.Width, 2.0)); 268dc.DrawRectangle(pressedBevel, null, new Rect(1.0, 0.0, 1.0, size.Height - 0.95)); 269dc.DrawRectangle(pressedBevel, null, new Rect(size.Width - 2.0, 0.0, 1.0, size.Height - 0.95)); 312dc.DrawRectangle(bottomBrush, null, new Rect(0.0, size.Height - 1.0, size.Width, 1.0));
Microsoft\Windows\Themes\ListBoxChrome.cs (1)
334dc.DrawRectangle(fill, null, backgroundRect);
Microsoft\Windows\Themes\ProgressBarHighlightConverter.cs (1)
80myDrawingContext.DrawRectangle(brush, null, new Rect(-width, 0, width, height));
Microsoft\Windows\Themes\ScrollChrome.cs (4)
554dc.DrawRectangle(glyphShadow, null, new Rect(x + i - 0.5, y - 0.5, 3.0, shadowHeight)); 557dc.DrawRectangle(brush, null, new Rect(x + i, y, 2.0, height)); 577dc.DrawRectangle(glyphShadow, null, new Rect(x - 0.5, y + i - 0.5, shadowWidth, 3.0)); 580dc.DrawRectangle(brush, null, new Rect(x, y + i, width, 2.0));
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (9)
154drawingContext.DrawRectangle(brushes[TopLeft], null, topLeft); 160drawingContext.DrawRectangle(brushes[Top], null, top); 164drawingContext.DrawRectangle(brushes[TopRight], null, topRight); 171drawingContext.DrawRectangle(brushes[Left], null, left); 178drawingContext.DrawRectangle(brushes[Right], null, right); 183drawingContext.DrawRectangle(brushes[BottomLeft], null, bottomLeft); 189drawingContext.DrawRectangle(brushes[Bottom], null, bottom); 193drawingContext.DrawRectangle(brushes[BottomRight], null, bottomRight); 210drawingContext.DrawRectangle(brushes[Center], null, center);
PresentationFramework.AeroLite (22)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (7)
99dc.DrawRectangle(background, null, new Rect(0.0, 0.0, size.Width, size.Height)); 151dc.DrawRectangle(sideBrush, null, new Rect(0.0, 0.0, 1.0, size.Height)); // left 155dc.DrawRectangle(sideBrush, null, new Rect(size.Width - 0.0, 0.0, 1.0, size.Height)); // right 162dc.DrawRectangle(sideBrush, null, new Rect(-1.0, 0.0, 1.0, size.Height)); // left 165dc.DrawRectangle(sideBrush, null, new Rect(size.Width - 1.0, 0.0, 1.0, size.Height)); // right 171dc.DrawRectangle(sideBrush, null, new Rect(0.0, 0.0, size.Width, 1.0)); // top 172dc.DrawRectangle(sideBrush, null, new Rect(0.0, size.Height - 1.0, size.Width, 1.0)); // bottom
Microsoft\Windows\Themes\ScrollChrome.cs (3)
207dc.DrawRectangle( 247dc.DrawRectangle(brush, null, new Rect(x + i, y, 2.0, height)); 262dc.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)
154drawingContext.DrawRectangle(brushes[TopLeft], null, topLeft); 160drawingContext.DrawRectangle(brushes[Top], null, top); 164drawingContext.DrawRectangle(brushes[TopRight], null, topRight); 171drawingContext.DrawRectangle(brushes[Left], null, left); 178drawingContext.DrawRectangle(brushes[Right], null, right); 183drawingContext.DrawRectangle(brushes[BottomLeft], null, bottomLeft); 189drawingContext.DrawRectangle(brushes[Bottom], null, bottom); 193drawingContext.DrawRectangle(brushes[BottomRight], null, bottomRight); 210drawingContext.DrawRectangle(brushes[Center], null, center);
PresentationFramework.Classic (33)
Microsoft\Windows\Themes\ClassicBorderDecorator.cs (10)
833drawingContext.DrawRectangle(background, null, bounds); 942dc.DrawRectangle(borderBrush, null, bounds); 954dc.DrawRectangle(borderBrush, null, new Rect(bounds.Left, bounds.Top, bounds.Width, borderThickness.Top)); 960dc.DrawRectangle(borderBrush, null, new Rect(bounds.Left, bounds.Top, borderThickness.Left, bounds.Height)); 966dc.DrawRectangle(borderBrush, null, new Rect(bounds.Right - borderThickness.Right, bounds.Top, borderThickness.Right, bounds.Height)); 972dc.DrawRectangle(borderBrush, null, new Rect(bounds.Left, bounds.Bottom - borderThickness.Bottom, bounds.Width, borderThickness.Bottom)); 1038dc.DrawRectangle(DarkBrush, null, new Rect(bounds.Left, bounds.Top, bounds.Width, singleThickness.Top)); 1039dc.DrawRectangle(LightLightBrush, null, new Rect(bounds.Left, bounds.Bottom - singleThickness.Bottom, bounds.Width, singleThickness.Bottom)); 1051dc.DrawRectangle(DarkBrush, null, new Rect(bounds.Left, bounds.Top, singleThickness.Left, bounds.Height)); 1052dc.DrawRectangle(LightLightBrush, null, new Rect(bounds.Right - singleThickness.Right, bounds.Top, singleThickness.Right, bounds.Height));
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (11)
96dc.DrawRectangle(background, null, new Rect(0.0, 0.0, size.Width, size.Height)); 103dc.DrawRectangle(dark, null, new Rect(0.0, 0.0, size.Width, 1.0)); 104dc.DrawRectangle(dark, null, new Rect(0.0, 0.0, 1.0, size.Height)); 105dc.DrawRectangle(dark, null, new Rect(0.0, Max0(size.Height - 1.0), size.Width, 1.0)); 106dc.DrawRectangle(dark, null, new Rect(Max0(size.Width - 1.0), 0.0, 1.0, size.Height)); 110dc.DrawRectangle(light, null, new Rect(0.0, 0.0, 1.0, Max0(size.Height - 1.0))); 111dc.DrawRectangle(light, null, new Rect(0.0, 0.0, Max0(size.Width - 1.0), 1.0)); 117dc.DrawRectangle(dark, null, new Rect(Max0(size.Width - 2.0), 1.0, 1.0, Max0(size.Height - 2.0))); 120dc.DrawRectangle(darkDarkRight, null, new Rect(Max0(size.Width - 1.0), 0.0, 1.0, size.Height)); 127dc.DrawRectangle(dark, null, new Rect(1.0, Max0(size.Height - 2.0), Max0(size.Width - 2.0), 1.0)); 130dc.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)
154drawingContext.DrawRectangle(brushes[TopLeft], null, topLeft); 160drawingContext.DrawRectangle(brushes[Top], null, top); 164drawingContext.DrawRectangle(brushes[TopRight], null, topRight); 171drawingContext.DrawRectangle(brushes[Left], null, left); 178drawingContext.DrawRectangle(brushes[Right], null, right); 183drawingContext.DrawRectangle(brushes[BottomLeft], null, bottomLeft); 189drawingContext.DrawRectangle(brushes[Bottom], null, bottom); 193drawingContext.DrawRectangle(brushes[BottomRight], null, bottomRight); 210drawingContext.DrawRectangle(brushes[Center], null, center);
PresentationFramework.Luna (24)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (4)
164dc.DrawRectangle(background, null, new Rect(0.0, 0.0, size.Width, size.Height)); 254dc.DrawRectangle(border, null, new Rect(0.0, 0.0, 1.0, size.Height)); 255dc.DrawRectangle(border, null, new Rect(0.0, Max0(size.Height - 1.0), size.Width, 1.0)); 304dc.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)
387dc.DrawRectangle(brush, null, new Rect(x + i, y, 1.0, height)); 390dc.DrawRectangle(glyphShadow, null, new Rect(x + i + 1, y + 1, 1.0, height)); 409dc.DrawRectangle(brush, null, new Rect(x, y + i, width, 1.0)); 412dc.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)
238dc.DrawRectangle(fill, null, bounds); 261dc.DrawRectangle(null, highlightPen, new Rect(bounds.Left + 1.0, bounds.Top + 1.0, bounds.Width - 2.0, bounds.Height - 2.0)); 309dc.DrawRectangle(glyphFill, null, new Rect(bounds.Left + 2, bounds.Top + 2, bounds.Width - 4.0, bounds.Height - 4.0)); 342dc.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)
154drawingContext.DrawRectangle(brushes[TopLeft], null, topLeft); 160drawingContext.DrawRectangle(brushes[Top], null, top); 164drawingContext.DrawRectangle(brushes[TopRight], null, topRight); 171drawingContext.DrawRectangle(brushes[Left], null, left); 178drawingContext.DrawRectangle(brushes[Right], null, right); 183drawingContext.DrawRectangle(brushes[BottomLeft], null, bottomLeft); 189drawingContext.DrawRectangle(brushes[Bottom], null, bottom); 193drawingContext.DrawRectangle(brushes[BottomRight], null, bottomRight); 210drawingContext.DrawRectangle(brushes[Center], null, center);
PresentationFramework.Royale (24)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (4)
93dc.DrawRectangle(background, null, new Rect(0.0, 0.0, size.Width, size.Height)); 176dc.DrawRectangle(border, null, new Rect(0.0, 0.0, 1.0, size.Height)); 177dc.DrawRectangle(border, null, new Rect(0.0, Max0(size.Height - 1.0), size.Width, 1.0)); 226dc.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)
347dc.DrawRectangle(brush, null, new Rect(x + i, y, 1.0, height)); 350dc.DrawRectangle(glyphShadow, null, new Rect(x + i + 1, y + 1, 1.0, height)); 369dc.DrawRectangle(brush, null, new Rect(x, y + i, width, 1.0)); 372dc.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)
238dc.DrawRectangle(fill, null, bounds); 261dc.DrawRectangle(null, highlightPen, new Rect(bounds.Left + 1.0, bounds.Top + 1.0, bounds.Width - 2.0, bounds.Height - 2.0)); 309dc.DrawRectangle(glyphFill, null, new Rect(bounds.Left + 2, bounds.Top + 2, bounds.Width - 4.0, bounds.Height - 4.0)); 342dc.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)
154drawingContext.DrawRectangle(brushes[TopLeft], null, topLeft); 160drawingContext.DrawRectangle(brushes[Top], null, top); 164drawingContext.DrawRectangle(brushes[TopRight], null, topRight); 171drawingContext.DrawRectangle(brushes[Left], null, left); 178drawingContext.DrawRectangle(brushes[Right], null, right); 183drawingContext.DrawRectangle(brushes[BottomLeft], null, bottomLeft); 189drawingContext.DrawRectangle(brushes[Bottom], null, bottom); 193drawingContext.DrawRectangle(brushes[BottomRight], null, bottomRight); 210drawingContext.DrawRectangle(brushes[Center], null, center);
ReachFramework (5)
AlphaFlattener\BrushProxy.cs (3)
3605ctx.DrawRectangle(new SolidColorBrush(brush.BeforeFill), null, rect); 3608ctx.DrawRectangle(b, null, rect); 3612ctx.DrawRectangle(new SolidColorBrush(brush.AfterFill), null, rect);
AlphaFlattener\Flattener.cs (2)
1040ctx.DrawRectangle(null, black, pi.bounds); 1057ctx.DrawRectangle(null, pen, transparentCluster[i].DebugBounds);
WindowsFormsIntegration (1)
System\Windows\Integration\HostUtils.cs (1)
333drawingContext.DrawRectangle(brush, null, new Rect(0, 0, adapter.Width, adapter.Height));