3 overrides of DrawRectangle
PresentationCore (3)
System\Windows\Media\DrawingDrawingContext.cs (1)
134public override void DrawRectangle(
System\Windows\Media\Generated\DrawingContextWalker.cs (1)
76public override void DrawRectangle(
System\Windows\Media\Generated\RenderDataDrawingContext.cs (1)
149public override void DrawRectangle(
221 references to DrawRectangle
PresentationCore (4)
MS\Internal\TextFormatting\LineServicesCallbacks.cs (1)
1353drawingContext.DrawRectangle(
MS\Internal\TextFormatting\SimpleTextLine.cs (1)
1862drawingContext.DrawRectangle(
System\Windows\Media\Generated\DrawingContextDrawingContextWalker.cs (1)
90_drawingContext.DrawRectangle(
System\Windows\Media\GlyphRun.cs (1)
1676dc.DrawRectangle(
PresentationFramework (40)
MS\Internal\Controls\InkCanvasFeedbackAdorner.cs (1)
148drawingContext.DrawRectangle(null, _adornerBorderPen,
MS\Internal\Controls\InkCanvasSelectionAdorner.cs (3)
57dc.DrawRectangle( 199drawingContext.DrawRectangle(null, 224drawingContext.DrawRectangle(_adornerFillBrush, _adornerPenBrush, visibleRect);
MS\Internal\Documents\TextBoxView.cs (1)
495context.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)
261dc.DrawRectangle(db, null, new Rect(0, 0, width, height));
MS\Internal\PtsHost\PageVisual.cs (2)
48dc.DrawRectangle(_backgroundBrush, null, _renderBounds); 52dc.DrawRectangle(Brushes.Transparent, null, _renderBounds);
MS\Internal\PtsHost\ParagraphVisual.cs (2)
97dc.DrawRectangle(null, pen, new Rect( 155dc.DrawRectangle(_backgroundBrush, null,
MS\Internal\PtsHost\TableParaClient.cs (5)
1769dc.DrawRectangle(columnBackgroundBrush, null, colRect); 1788dc.DrawRectangle(columnBackgroundBrush, null, colRect); 1850dc.DrawRectangle(rowGroupBackgroundBrush, null, rowRect); 1868dc.DrawRectangle(rowGroupBackgroundBrush, null, rowRect); 1898dc.DrawRectangle(rowBackgroundBrush, null, rowRect);
System\Windows\Controls\Border.cs (2)
447dc.DrawRectangle( 606dc.DrawRectangle(background, null, new Rect(ptTL, ptBR));
System\Windows\Controls\DataGridCell.cs (2)
859drawingContext.DrawRectangle(DataGridOwner.VerticalGridLinesBrush, null, rect); 870drawingContext.DrawRectangle(dataGrid.HorizontalGridLinesBrush, null, rect);
System\Windows\Controls\Panel.cs (1)
65dc.DrawRectangle(background,
System\Windows\Controls\Primitives\BulletDecorator.cs (1)
196dc.DrawRectangle(background,
System\Windows\Controls\Primitives\DataGridCellsPresenter.cs (1)
482drawingContext.DrawRectangle(dataGrid.HorizontalGridLinesBrush, null, rect);
System\Windows\Controls\Primitives\DataGridDetailsPresenter.cs (1)
295drawingContext.DrawRectangle(dataGrid.HorizontalGridLinesBrush, null, rect);
System\Windows\Controls\Primitives\DocumentPageView.cs (1)
971dc.DrawRectangle(imageBrush, null, pageVisualRect);
System\Windows\Controls\TextBlock.cs (1)
1488ctx.DrawRectangle(background, null, new Rect(0, 0, RenderSize.Width, RenderSize.Height));
System\Windows\Controls\ToolBarTray.cs (1)
327dc.DrawRectangle(background,
System\windows\Documents\CaretElement.cs (2)
678context.DrawRectangle(_caretBrush, null, new Rect(0, 0, _interimWidth, _height)); 691context.DrawRectangle(_caretBrush, null, new Rect(-(_systemCaretWidth / 2), 0, _systemCaretWidth, _height));
System\Windows\Documents\CompositionAdorner.cs (1)
259drawingContext.DrawRectangle(selectionBrush, selectionPen, rect);
System\Windows\Documents\FixedPage.cs (2)
149dc.DrawRectangle(background, 1249dc.DrawRectangle(null, pen , alignmentBox);
System\Windows\Documents\FixedPageStructure.cs (2)
604dc.DrawRectangle(Brushes.CadetBlue, null, imageRect); 648dc.DrawRectangle(null, pen , layoutBox);
System\Windows\Documents\FixedSOMFixedBlock.cs (1)
149dc.DrawRectangle(null, pen , rect);
System\Windows\Documents\FixedSOMGroup.cs (1)
154dc.DrawRectangle(null, pen , rect);
System\Windows\Documents\FixedSOMImage.cs (1)
93dc.DrawRectangle(null, pen , rect);
System\Windows\Documents\FixedSOMTable.cs (1)
40dc.DrawRectangle(null, pen , rect);
System\Windows\Documents\FixedSOMTableCell.cs (1)
43dc.DrawRectangle(null, pen , rect);
System\Windows\Documents\FixedSOMTextRun.cs (1)
188dc.DrawRectangle(null, pen , rect);
System\Windows\Documents\HighlightVisual.cs (1)
99dc.DrawRectangle(SelectionHighlightInfo.ObjectMaskBrush, null, r);
PresentationFramework.Aero (34)
Microsoft\Windows\Themes\BulletChrome.cs (7)
646dc.DrawRectangle(fill, null, backgroundRect); 651dc.DrawRectangle(fill, null, backgroundRect); 682dc.DrawRectangle(innerFill, null, new Rect(bounds.Left + 3.0, bounds.Top + 3.0, bounds.Width - 6.0, bounds.Height - 6.0)); 689dc.DrawRectangle(null, innerBorder, new Rect(bounds.Left + 2.5, bounds.Top + 2.5, bounds.Width - 5.0, bounds.Height - 5.0)); 732dc.DrawRectangle(null, HighlightStroke, new Rect(3.5, 3.5, 6, 6)); 761dc.DrawRectangle(null, pen, rect); 764dc.DrawRectangle(null, overlayPen, rect);
Microsoft\Windows\Themes\ButtonChrome.cs (4)
501dc.DrawRectangle(fill, null, backgroundRect); 506dc.DrawRectangle(fill, null, backgroundRect); 519dc.DrawRectangle(leftShadow, null, new Rect(1.0, 1.0, 2.0, bounds.Bottom - 2.0)); 526dc.DrawRectangle(topShadow, null, new Rect(1.0, 1.0, bounds.Right - 2.0, 2.0));
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (8)
84dc.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)); 223dc.DrawRectangle(sideBrush, null, new Rect(0.0, 0.0, 1.0, Max0(size.Height - 0.95))); 224dc.DrawRectangle(sideBrush, null, new Rect(size.Width - 1.0, 0.0, 1.0, Max0(size.Height - 0.95))); 248dc.DrawRectangle(topBrush, null, new Rect(0.0, 0.0, size.Width, 2.0)); 267dc.DrawRectangle(pressedBevel, null, new Rect(1.0, 0.0, 1.0, size.Height - 0.95)); 268dc.DrawRectangle(pressedBevel, null, new Rect(size.Width - 2.0, 0.0, 1.0, size.Height - 0.95)); 311dc.DrawRectangle(bottomBrush, null, new Rect(0.0, size.Height - 1.0, size.Width, 1.0));
Microsoft\Windows\Themes\ListBoxChrome.cs (1)
330dc.DrawRectangle(fill, null, backgroundRect);
Microsoft\Windows\Themes\ProgressBarHighlightConverter.cs (1)
79myDrawingContext.DrawRectangle(brush, null, new Rect(-width, 0, width, height));
Microsoft\Windows\Themes\ScrollChrome.cs (4)
553dc.DrawRectangle(glyphShadow, null, new Rect(x + i - 0.5, y - 0.5, 3.0, shadowHeight)); 556dc.DrawRectangle(brush, null, new Rect(x + i, y, 2.0, height)); 576dc.DrawRectangle(glyphShadow, null, new Rect(x - 0.5, y + i - 0.5, shadowWidth, 3.0)); 579dc.DrawRectangle(brush, null, new Rect(x, y + i, width, 2.0));
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (9)
153drawingContext.DrawRectangle(brushes[TopLeft], null, topLeft); 159drawingContext.DrawRectangle(brushes[Top], null, top); 163drawingContext.DrawRectangle(brushes[TopRight], null, topRight); 170drawingContext.DrawRectangle(brushes[Left], null, left); 177drawingContext.DrawRectangle(brushes[Right], null, right); 182drawingContext.DrawRectangle(brushes[BottomLeft], null, bottomLeft); 188drawingContext.DrawRectangle(brushes[Bottom], null, bottom); 192drawingContext.DrawRectangle(brushes[BottomRight], null, bottomRight); 209drawingContext.DrawRectangle(brushes[Center], null, center);
PresentationFramework.Aero2 (34)
Microsoft\Windows\Themes\BulletChrome.cs (7)
646dc.DrawRectangle(fill, null, backgroundRect); 651dc.DrawRectangle(fill, null, backgroundRect); 682dc.DrawRectangle(innerFill, null, new Rect(bounds.Left + 3.0, bounds.Top + 3.0, bounds.Width - 6.0, bounds.Height - 6.0)); 689dc.DrawRectangle(null, innerBorder, new Rect(bounds.Left + 2.5, bounds.Top + 2.5, bounds.Width - 5.0, bounds.Height - 5.0)); 732dc.DrawRectangle(null, HighlightStroke, new Rect(3.5, 3.5, 6, 6)); 761dc.DrawRectangle(null, pen, rect); 764dc.DrawRectangle(null, overlayPen, rect);
Microsoft\Windows\Themes\ButtonChrome.cs (4)
501dc.DrawRectangle(fill, null, backgroundRect); 506dc.DrawRectangle(fill, null, backgroundRect); 519dc.DrawRectangle(leftShadow, null, new Rect(1.0, 1.0, 2.0, bounds.Bottom - 2.0)); 526dc.DrawRectangle(topShadow, null, new Rect(1.0, 1.0, bounds.Right - 2.0, 2.0));
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (8)
84dc.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)); 223dc.DrawRectangle(sideBrush, null, new Rect(0.0, 0.0, 1.0, Max0(size.Height - 0.95))); 224dc.DrawRectangle(sideBrush, null, new Rect(size.Width - 1.0, 0.0, 1.0, Max0(size.Height - 0.95))); 248dc.DrawRectangle(topBrush, null, new Rect(0.0, 0.0, size.Width, 2.0)); 267dc.DrawRectangle(pressedBevel, null, new Rect(1.0, 0.0, 1.0, size.Height - 0.95)); 268dc.DrawRectangle(pressedBevel, null, new Rect(size.Width - 2.0, 0.0, 1.0, size.Height - 0.95)); 311dc.DrawRectangle(bottomBrush, null, new Rect(0.0, size.Height - 1.0, size.Width, 1.0));
Microsoft\Windows\Themes\ListBoxChrome.cs (1)
330dc.DrawRectangle(fill, null, backgroundRect);
Microsoft\Windows\Themes\ProgressBarHighlightConverter.cs (1)
79myDrawingContext.DrawRectangle(brush, null, new Rect(-width, 0, width, height));
Microsoft\Windows\Themes\ScrollChrome.cs (4)
553dc.DrawRectangle(glyphShadow, null, new Rect(x + i - 0.5, y - 0.5, 3.0, shadowHeight)); 556dc.DrawRectangle(brush, null, new Rect(x + i, y, 2.0, height)); 576dc.DrawRectangle(glyphShadow, null, new Rect(x - 0.5, y + i - 0.5, shadowWidth, 3.0)); 579dc.DrawRectangle(brush, null, new Rect(x, y + i, width, 2.0));
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (9)
153drawingContext.DrawRectangle(brushes[TopLeft], null, topLeft); 159drawingContext.DrawRectangle(brushes[Top], null, top); 163drawingContext.DrawRectangle(brushes[TopRight], null, topRight); 170drawingContext.DrawRectangle(brushes[Left], null, left); 177drawingContext.DrawRectangle(brushes[Right], null, right); 182drawingContext.DrawRectangle(brushes[BottomLeft], null, bottomLeft); 188drawingContext.DrawRectangle(brushes[Bottom], null, bottom); 192drawingContext.DrawRectangle(brushes[BottomRight], null, bottomRight); 209drawingContext.DrawRectangle(brushes[Center], null, center);
PresentationFramework.AeroLite (22)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (7)
98dc.DrawRectangle(background, null, new Rect(0.0, 0.0, size.Width, size.Height)); 150dc.DrawRectangle(sideBrush, null, new Rect(0.0, 0.0, 1.0, size.Height)); // left 154dc.DrawRectangle(sideBrush, null, new Rect(size.Width - 0.0, 0.0, 1.0, size.Height)); // right 161dc.DrawRectangle(sideBrush, null, new Rect(-1.0, 0.0, 1.0, size.Height)); // left 164dc.DrawRectangle(sideBrush, null, new Rect(size.Width - 1.0, 0.0, 1.0, size.Height)); // right 170dc.DrawRectangle(sideBrush, null, new Rect(0.0, 0.0, size.Width, 1.0)); // top 171dc.DrawRectangle(sideBrush, null, new Rect(0.0, size.Height - 1.0, size.Width, 1.0)); // bottom
Microsoft\Windows\Themes\ScrollChrome.cs (3)
206dc.DrawRectangle( 246dc.DrawRectangle(brush, null, new Rect(x + i, y, 2.0, height)); 261dc.DrawRectangle(brush, null, new Rect(x, y + i, width, 2.0));
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\ProgressBarBrushConverter.cs (3)
133myDrawingContext.DrawRectangle( 150myDrawingContext.DrawRectangle( 163myDrawingContext.DrawRectangle(
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (9)
153drawingContext.DrawRectangle(brushes[TopLeft], null, topLeft); 159drawingContext.DrawRectangle(brushes[Top], null, top); 163drawingContext.DrawRectangle(brushes[TopRight], null, topRight); 170drawingContext.DrawRectangle(brushes[Left], null, left); 177drawingContext.DrawRectangle(brushes[Right], null, right); 182drawingContext.DrawRectangle(brushes[BottomLeft], null, bottomLeft); 188drawingContext.DrawRectangle(brushes[Bottom], null, bottom); 192drawingContext.DrawRectangle(brushes[BottomRight], null, bottomRight); 209drawingContext.DrawRectangle(brushes[Center], null, center);
PresentationFramework.Classic (33)
Microsoft\Windows\Themes\ClassicBorderDecorator.cs (10)
832drawingContext.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)
95dc.DrawRectangle(background, null, new Rect(0.0, 0.0, size.Width, size.Height)); 102dc.DrawRectangle(dark, null, new Rect(0.0, 0.0, size.Width, 1.0)); 103dc.DrawRectangle(dark, null, new Rect(0.0, 0.0, 1.0, size.Height)); 104dc.DrawRectangle(dark, null, new Rect(0.0, Max0(size.Height - 1.0), size.Width, 1.0)); 105dc.DrawRectangle(dark, null, new Rect(Max0(size.Width - 1.0), 0.0, 1.0, size.Height)); 109dc.DrawRectangle(light, null, new Rect(0.0, 0.0, 1.0, Max0(size.Height - 1.0))); 110dc.DrawRectangle(light, null, new Rect(0.0, 0.0, Max0(size.Width - 1.0), 1.0)); 116dc.DrawRectangle(dark, null, new Rect(Max0(size.Width - 2.0), 1.0, 1.0, Max0(size.Height - 2.0))); 119dc.DrawRectangle(darkDarkRight, null, new Rect(Max0(size.Width - 1.0), 0.0, 1.0, size.Height)); 126dc.DrawRectangle(dark, null, new Rect(1.0, Max0(size.Height - 2.0), Max0(size.Width - 2.0), 1.0)); 129dc.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)
133myDrawingContext.DrawRectangle( 150myDrawingContext.DrawRectangle( 163myDrawingContext.DrawRectangle(
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (9)
153drawingContext.DrawRectangle(brushes[TopLeft], null, topLeft); 159drawingContext.DrawRectangle(brushes[Top], null, top); 163drawingContext.DrawRectangle(brushes[TopRight], null, topRight); 170drawingContext.DrawRectangle(brushes[Left], null, left); 177drawingContext.DrawRectangle(brushes[Right], null, right); 182drawingContext.DrawRectangle(brushes[BottomLeft], null, bottomLeft); 188drawingContext.DrawRectangle(brushes[Bottom], null, bottom); 192drawingContext.DrawRectangle(brushes[BottomRight], null, bottomRight); 209drawingContext.DrawRectangle(brushes[Center], null, center);
PresentationFramework.Luna (24)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (4)
163dc.DrawRectangle(background, null, new Rect(0.0, 0.0, size.Width, size.Height)); 253dc.DrawRectangle(border, null, new Rect(0.0, 0.0, 1.0, size.Height)); 254dc.DrawRectangle(border, null, new Rect(0.0, Max0(size.Height - 1.0), size.Width, 1.0)); 303dc.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)
386dc.DrawRectangle(brush, null, new Rect(x + i, y, 1.0, height)); 389dc.DrawRectangle(glyphShadow, null, new Rect(x + i + 1, y + 1, 1.0, height)); 408dc.DrawRectangle(brush, null, new Rect(x, y + i, width, 1.0)); 411dc.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)
235dc.DrawRectangle(fill, null, bounds); 258dc.DrawRectangle(null, highlightPen, new Rect(bounds.Left + 1.0, bounds.Top + 1.0, bounds.Width - 2.0, bounds.Height - 2.0)); 306dc.DrawRectangle(glyphFill, null, new Rect(bounds.Left + 2, bounds.Top + 2, bounds.Width - 4.0, bounds.Height - 4.0)); 339dc.DrawRectangle(null, borderPen, rect);
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\ProgressBarBrushConverter.cs (3)
133myDrawingContext.DrawRectangle( 150myDrawingContext.DrawRectangle( 163myDrawingContext.DrawRectangle(
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (9)
153drawingContext.DrawRectangle(brushes[TopLeft], null, topLeft); 159drawingContext.DrawRectangle(brushes[Top], null, top); 163drawingContext.DrawRectangle(brushes[TopRight], null, topRight); 170drawingContext.DrawRectangle(brushes[Left], null, left); 177drawingContext.DrawRectangle(brushes[Right], null, right); 182drawingContext.DrawRectangle(brushes[BottomLeft], null, bottomLeft); 188drawingContext.DrawRectangle(brushes[Bottom], null, bottom); 192drawingContext.DrawRectangle(brushes[BottomRight], null, bottomRight); 209drawingContext.DrawRectangle(brushes[Center], null, center);
PresentationFramework.Royale (24)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (4)
92dc.DrawRectangle(background, null, new Rect(0.0, 0.0, size.Width, size.Height)); 175dc.DrawRectangle(border, null, new Rect(0.0, 0.0, 1.0, size.Height)); 176dc.DrawRectangle(border, null, new Rect(0.0, Max0(size.Height - 1.0), size.Width, 1.0)); 225dc.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)
346dc.DrawRectangle(brush, null, new Rect(x + i, y, 1.0, height)); 349dc.DrawRectangle(glyphShadow, null, new Rect(x + i + 1, y + 1, 1.0, height)); 368dc.DrawRectangle(brush, null, new Rect(x, y + i, width, 1.0)); 371dc.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)
235dc.DrawRectangle(fill, null, bounds); 258dc.DrawRectangle(null, highlightPen, new Rect(bounds.Left + 1.0, bounds.Top + 1.0, bounds.Width - 2.0, bounds.Height - 2.0)); 306dc.DrawRectangle(glyphFill, null, new Rect(bounds.Left + 2, bounds.Top + 2, bounds.Width - 4.0, bounds.Height - 4.0)); 339dc.DrawRectangle(null, borderPen, rect);
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\ProgressBarBrushConverter.cs (3)
133myDrawingContext.DrawRectangle( 150myDrawingContext.DrawRectangle( 163myDrawingContext.DrawRectangle(
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (9)
153drawingContext.DrawRectangle(brushes[TopLeft], null, topLeft); 159drawingContext.DrawRectangle(brushes[Top], null, top); 163drawingContext.DrawRectangle(brushes[TopRight], null, topRight); 170drawingContext.DrawRectangle(brushes[Left], null, left); 177drawingContext.DrawRectangle(brushes[Right], null, right); 182drawingContext.DrawRectangle(brushes[BottomLeft], null, bottomLeft); 188drawingContext.DrawRectangle(brushes[Bottom], null, bottom); 192drawingContext.DrawRectangle(brushes[BottomRight], null, bottomRight); 209drawingContext.DrawRectangle(brushes[Center], null, center);
ReachFramework (5)
AlphaFlattener\BrushProxy.cs (3)
3601ctx.DrawRectangle(new SolidColorBrush(brush.BeforeFill), null, rect); 3604ctx.DrawRectangle(b, null, rect); 3608ctx.DrawRectangle(new SolidColorBrush(brush.AfterFill), null, rect);
AlphaFlattener\Flattener.cs (2)
1033ctx.DrawRectangle(null, black, pi.bounds); 1050ctx.DrawRectangle(null, pen, transparentCluster[i].DebugBounds);
WindowsFormsIntegration (1)
System\Windows\Integration\HostUtils.cs (1)
332drawingContext.DrawRectangle(brush, null, new Rect(0, 0, adapter.Width, adapter.Height));