3 overrides of DrawGeometry
PresentationCore (3)
System\Windows\Media\DrawingDrawingContext.cs (1)
515public override void DrawGeometry(
System\Windows\Media\Generated\DrawingContextWalker.cs (1)
278public override void DrawGeometry(
System\Windows\Media\Generated\RenderDataDrawingContext.cs (1)
560public override void DrawGeometry(
104 references to DrawGeometry
PresentationCore (5)
System\Windows\Ink\Stroke2.cs (3)
402drawingContext.DrawGeometry(brush, null, GetGeometry(selectedDA)); 408drawingContext.DrawGeometry(Brushes.White, null, GetGeometry(selectedDA)); 440drawingContext.DrawGeometry(brush, null, GetGeometry(drawingAttributes));
System\Windows\Input\Stylus\Common\DynamicRenderer.cs (1)
748drawingContext.DrawGeometry(fillBrush, null, geometry);
System\Windows\Media\Generated\DrawingContextDrawingContextWalker.cs (1)
328_drawingContext.DrawGeometry(
PresentationFramework (22)
MS\Internal\Controls\InkCanvasSelectionAdorner.cs (2)
335drawingContext.DrawGeometry(Brushes.Transparent, null, backgroundGeometry); 341drawingContext.DrawGeometry(null, _hatchPen, outlineGeometry);
MS\Internal\Documents\TextBoxLine.cs (1)
228ctx.DrawGeometry(selectionBrush, new Pen() { Brush = selectionBrush }, selectionGeometry);
MS\Internal\Ink\PenCursorManager.cs (2)
533dc.DrawGeometry(brush1, pen1, pathGeometry); 534dc.DrawGeometry(brush2, pen1, pathGeometry1);
System\Windows\Controls\Border.cs (2)
379dc.DrawGeometry(brush, null, borderGeometry); 386dc.DrawGeometry(brush, null, backgroundGeometry);
System\Windows\Controls\Primitives\TickBar.cs (4)
543dc.DrawGeometry(Fill, pen, geo); 555dc.DrawGeometry(Fill, pen, geo); 648dc.DrawGeometry(Fill, pen, geo); 660dc.DrawGeometry(Fill, pen, geo);
System\windows\Documents\CaretElement.cs (2)
142drawingContext.DrawGeometry(selectionBrush, selectionOutlinePen, _selectionGeometry); 731context.DrawGeometry(_caretBrush, null, pathGeometry);
System\Windows\Documents\CompositionAdorner.cs (1)
301drawingContext.DrawGeometry(null, pen, pathGeometry);
System\Windows\Documents\FixedPage.cs (2)
1265dc.DrawGeometry(null, backgroundPen, renderGeom); 1284dc.DrawGeometry(Brushes.Black, backgroundPen, geom);
System\Windows\Documents\FixedPageStructure.cs (1)
669dc.DrawGeometry(Brushes.Black, backgroundPen, geom);
System\Windows\Documents\FixedSOMSemanticBox.cs (1)
84dc.DrawGeometry(Brushes.Black, backgroundPen, geom);
System\Windows\Documents\HighlightVisual.cs (2)
253dc.DrawGeometry(highlightBrush, null, highlightGeometry); 271dc.DrawGeometry(highlightBrush, null, highlightGeometry);
System\Windows\Shapes\Ellipse.cs (1)
195drawingContext.DrawGeometry(Fill, pen, new EllipseGeometry(_rect));
System\Windows\Shapes\Shape.cs (1)
426drawingContext.DrawGeometry(Fill, GetPen(), _renderedGeometry);
PresentationFramework.Aero (12)
Microsoft\Windows\Themes\BulletChrome.cs (2)
717dc.DrawGeometry(null, GlyphStroke, CheckMarkGeometry); 718dc.DrawGeometry(GlyphFill, null, CheckMarkGeometry);
Microsoft\Windows\Themes\ButtonChrome.cs (2)
634dc.DrawGeometry(null, pen, borderGeometry); 637dc.DrawGeometry(null, overlayPen, borderGeometry);
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (2)
370dc.DrawGeometry(arrowBorder, null, arrowGeometry); 396dc.DrawGeometry(arrowFill, null, arrowGeometry);
Microsoft\Windows\Themes\ListBoxChrome.cs (1)
385dc.DrawGeometry(BorderBrush, null, geometry);
Microsoft\Windows\Themes\ScrollChrome.cs (4)
760dc.DrawGeometry(brush, null, LeftArrowGeometry); 764dc.DrawGeometry(brush, null, RightArrowGeometry); 768dc.DrawGeometry(brush, null, UpArrowGeometry); 772dc.DrawGeometry(brush, null, DownArrowGeometry);
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (1)
283drawingContext.DrawGeometry(brushes[Center], null, geometry);
PresentationFramework.Aero2 (12)
Microsoft\Windows\Themes\BulletChrome.cs (2)
717dc.DrawGeometry(null, GlyphStroke, CheckMarkGeometry); 718dc.DrawGeometry(GlyphFill, null, CheckMarkGeometry);
Microsoft\Windows\Themes\ButtonChrome.cs (2)
634dc.DrawGeometry(null, pen, borderGeometry); 637dc.DrawGeometry(null, overlayPen, borderGeometry);
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (2)
370dc.DrawGeometry(arrowBorder, null, arrowGeometry); 396dc.DrawGeometry(arrowFill, null, arrowGeometry);
Microsoft\Windows\Themes\ListBoxChrome.cs (1)
385dc.DrawGeometry(BorderBrush, null, geometry);
Microsoft\Windows\Themes\ScrollChrome.cs (4)
760dc.DrawGeometry(brush, null, LeftArrowGeometry); 764dc.DrawGeometry(brush, null, RightArrowGeometry); 768dc.DrawGeometry(brush, null, UpArrowGeometry); 772dc.DrawGeometry(brush, null, DownArrowGeometry);
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (1)
283drawingContext.DrawGeometry(brushes[Center], null, geometry);
PresentationFramework.AeroLite (2)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
237dc.DrawGeometry(arrowFill, null, arrowGeometry);
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (1)
283drawingContext.DrawGeometry(brushes[Center], null, geometry);
PresentationFramework.Classic (21)
Microsoft\Windows\Themes\ClassicBorderDecorator.cs (19)
976dc.DrawGeometry(borderBrush, null, GetBorder(bounds, borderThickness)); 1224dc.DrawGeometry(LightLightBrush, null, GetHighlight1(tempBounds)); 1225dc.DrawGeometry(DarkDarkBrush, null, GetShadow1(tempBounds)); 1226dc.DrawGeometry(LightBrush, null, GetHighlight2(tempBounds)); 1227dc.DrawGeometry(DarkBrush, null, GetShadow2(tempBounds)); 1240dc.DrawGeometry(LightLightBrush, null, GetHighlight1(bounds)); 1241dc.DrawGeometry(DarkDarkBrush, null, GetShadow1(bounds)); 1242dc.DrawGeometry(LightBrush, null, GetHighlight2(bounds)); 1243dc.DrawGeometry(DarkBrush, null, GetShadow2(bounds)); 1260dc.DrawGeometry(DarkDarkBrush, null, GetHighlight1(tempBounds)); 1261dc.DrawGeometry(LightLightBrush, null, GetShadow1(tempBounds)); 1262dc.DrawGeometry(DarkBrush, null, GetHighlight2(tempBounds)); 1263dc.DrawGeometry(LightBrush, null, GetShadow2(tempBounds)); 1281dc.DrawGeometry(DarkDarkBrush, null, GetHighlight1(tempBounds)); 1282dc.DrawGeometry(LightLightBrush, null, GetShadow1(tempBounds)); 1283dc.DrawGeometry(DarkBrush, null, GetHighlight2(tempBounds)); 1284dc.DrawGeometry(LightBrush, null, GetShadow2(tempBounds)); 1331dc.DrawGeometry(DarkDarkBrush, new Pen(DarkBrush, 1.0), TopLeftArcGeometry); 1332dc.DrawGeometry(LightBrush, new Pen(LightLightBrush, 1.0), BottomRightArcGeometry);
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
193dc.DrawGeometry(sortArrowColor, null, arrowGeometry);
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (1)
283drawingContext.DrawGeometry(brushes[Center], null, geometry);
PresentationFramework.Luna (9)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (2)
236dc.DrawGeometry(tabFill, tabStroke, tabGeometry); 360dc.DrawGeometry(arrowFill, null, arrowGeometry);
Microsoft\Windows\Themes\ScrollChrome.cs (4)
619dc.DrawGeometry(brush, null, LeftArrowGeometry); 623dc.DrawGeometry(brush, null, RightArrowGeometry); 627dc.DrawGeometry(brush, null, UpArrowGeometry); 631dc.DrawGeometry(brush, null, DownArrowGeometry);
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\BulletChrome.cs (2)
299dc.DrawGeometry(glyphFill, null, CheckMarkGeometry); 355dc.DrawGeometry(borderBrush, null, GenerateBorderGeometry(bounds, thickness));
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (1)
283drawingContext.DrawGeometry(brushes[Center], null, geometry);
PresentationFramework.Royale (9)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (2)
158dc.DrawGeometry(tabFill, tabStroke, tabGeometry); 282dc.DrawGeometry(arrowFill, null, arrowGeometry);
Microsoft\Windows\Themes\ScrollChrome.cs (4)
579dc.DrawGeometry(brush, null, LeftArrowGeometry); 583dc.DrawGeometry(brush, null, RightArrowGeometry); 587dc.DrawGeometry(brush, null, UpArrowGeometry); 591dc.DrawGeometry(brush, null, DownArrowGeometry);
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\BulletChrome.cs (2)
299dc.DrawGeometry(glyphFill, null, CheckMarkGeometry); 355dc.DrawGeometry(borderBrush, null, GenerateBorderGeometry(bounds, thickness));
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (1)
283drawingContext.DrawGeometry(brushes[Center], null, geometry);
ReachFramework (12)
AlphaFlattener\BrushProxy.cs (9)
1292dc.DrawGeometry(_brush, null, geo); 1302dc.DrawGeometry(null, pen, geo); 1487context.DrawGeometry(Brushes.Black, null, geometry); 1525context.DrawGeometry(new SolidColorBrush(_beforeDrawing), null, geometry); 1547context.DrawGeometry(_brush, null, geometry); 1575context.DrawGeometry( 1590context.DrawGeometry(new SolidColorBrush(_afterDrawing), null, geometry); 3044context.DrawGeometry( 3139context.DrawGeometry(
AlphaFlattener\Flattener.cs (1)
1396_ctx.DrawGeometry(brush, pen, geometry);
AlphaFlattener\Primitive.cs (1)
1151dc.DrawGeometry(null, p, Geometry);
Serialization\DrawingContextFlattener.cs (1)
907_context.DrawGeometry(brush, pen, geometry);