3 overrides of DrawGeometry
PresentationCore (3)
System\Windows\Media\DrawingDrawingContext.cs (1)
497public override void DrawGeometry(
System\Windows\Media\Generated\DrawingContextWalker.cs (1)
263public override void DrawGeometry(
System\Windows\Media\Generated\RenderDataDrawingContext.cs (1)
543public override void DrawGeometry(
104 references to DrawGeometry
PresentationCore (5)
System\Windows\Ink\Stroke2.cs (3)
393drawingContext.DrawGeometry(brush, null, GetGeometry(selectedDA)); 399drawingContext.DrawGeometry(Brushes.White, null, GetGeometry(selectedDA)); 431drawingContext.DrawGeometry(brush, null, GetGeometry(drawingAttributes));
System\Windows\Input\Stylus\Common\DynamicRenderer.cs (1)
734drawingContext.DrawGeometry(fillBrush, null, geometry);
System\Windows\Media\Generated\DrawingContextDrawingContextWalker.cs (1)
313_drawingContext.DrawGeometry(
PresentationFramework (22)
MS\Internal\Controls\InkCanvasSelectionAdorner.cs (2)
328drawingContext.DrawGeometry(Brushes.Transparent, null, backgroundGeometry); 334drawingContext.DrawGeometry(null, _hatchPen, outlineGeometry);
MS\Internal\Documents\TextBoxLine.cs (1)
221ctx.DrawGeometry(selectionBrush, new Pen() { Brush = selectionBrush }, selectionGeometry);
MS\Internal\Ink\PenCursorManager.cs (2)
528dc.DrawGeometry(brush1, pen1, pathGeometry); 529dc.DrawGeometry(brush2, pen1, pathGeometry1);
System\Windows\Controls\Border.cs (2)
375dc.DrawGeometry(brush, null, borderGeometry); 382dc.DrawGeometry(brush, null, backgroundGeometry);
System\Windows\Controls\Primitives\TickBar.cs (4)
529dc.DrawGeometry(Fill, pen, geo); 541dc.DrawGeometry(Fill, pen, geo); 634dc.DrawGeometry(Fill, pen, geo); 646dc.DrawGeometry(Fill, pen, geo);
System\windows\Documents\CaretElement.cs (2)
139drawingContext.DrawGeometry(selectionBrush, selectionOutlinePen, _selectionGeometry); 728context.DrawGeometry(_caretBrush, null, pathGeometry);
System\Windows\Documents\CompositionAdorner.cs (1)
298drawingContext.DrawGeometry(null, pen, pathGeometry);
System\Windows\Documents\FixedPage.cs (2)
1257dc.DrawGeometry(null, backgroundPen, renderGeom); 1276dc.DrawGeometry(Brushes.Black, backgroundPen, geom);
System\Windows\Documents\FixedPageStructure.cs (1)
663dc.DrawGeometry(Brushes.Black, backgroundPen, geom);
System\Windows\Documents\FixedSOMSemanticBox.cs (1)
80dc.DrawGeometry(Brushes.Black, backgroundPen, geom);
System\Windows\Documents\HighlightVisual.cs (2)
243dc.DrawGeometry(highlightBrush, null, highlightGeometry); 261dc.DrawGeometry(highlightBrush, null, highlightGeometry);
System\Windows\Shapes\Ellipse.cs (1)
186drawingContext.DrawGeometry(Fill, pen, new EllipseGeometry(_rect));
System\Windows\Shapes\Shape.cs (1)
421drawingContext.DrawGeometry(Fill, GetPen(), _renderedGeometry);
PresentationFramework.Aero (12)
Microsoft\Windows\Themes\BulletChrome.cs (2)
711dc.DrawGeometry(null, GlyphStroke, CheckMarkGeometry); 712dc.DrawGeometry(GlyphFill, null, CheckMarkGeometry);
Microsoft\Windows\Themes\ButtonChrome.cs (2)
625dc.DrawGeometry(null, pen, borderGeometry); 628dc.DrawGeometry(null, overlayPen, borderGeometry);
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (2)
367dc.DrawGeometry(arrowBorder, null, arrowGeometry); 393dc.DrawGeometry(arrowFill, null, arrowGeometry);
Microsoft\Windows\Themes\ListBoxChrome.cs (1)
379dc.DrawGeometry(BorderBrush, null, geometry);
Microsoft\Windows\Themes\ScrollChrome.cs (4)
755dc.DrawGeometry(brush, null, LeftArrowGeometry); 759dc.DrawGeometry(brush, null, RightArrowGeometry); 763dc.DrawGeometry(brush, null, UpArrowGeometry); 767dc.DrawGeometry(brush, null, DownArrowGeometry);
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (1)
279drawingContext.DrawGeometry(brushes[Center], null, geometry);
PresentationFramework.Aero2 (12)
Microsoft\Windows\Themes\BulletChrome.cs (2)
711dc.DrawGeometry(null, GlyphStroke, CheckMarkGeometry); 712dc.DrawGeometry(GlyphFill, null, CheckMarkGeometry);
Microsoft\Windows\Themes\ButtonChrome.cs (2)
625dc.DrawGeometry(null, pen, borderGeometry); 628dc.DrawGeometry(null, overlayPen, borderGeometry);
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (2)
367dc.DrawGeometry(arrowBorder, null, arrowGeometry); 393dc.DrawGeometry(arrowFill, null, arrowGeometry);
Microsoft\Windows\Themes\ListBoxChrome.cs (1)
379dc.DrawGeometry(BorderBrush, null, geometry);
Microsoft\Windows\Themes\ScrollChrome.cs (4)
755dc.DrawGeometry(brush, null, LeftArrowGeometry); 759dc.DrawGeometry(brush, null, RightArrowGeometry); 763dc.DrawGeometry(brush, null, UpArrowGeometry); 767dc.DrawGeometry(brush, null, DownArrowGeometry);
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (1)
279drawingContext.DrawGeometry(brushes[Center], null, geometry);
PresentationFramework.AeroLite (2)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
234dc.DrawGeometry(arrowFill, null, arrowGeometry);
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (1)
279drawingContext.DrawGeometry(brushes[Center], null, geometry);
PresentationFramework.Classic (21)
Microsoft\Windows\Themes\ClassicBorderDecorator.cs (19)
973dc.DrawGeometry(borderBrush, null, GetBorder(bounds, borderThickness)); 1221dc.DrawGeometry(LightLightBrush, null, GetHighlight1(tempBounds)); 1222dc.DrawGeometry(DarkDarkBrush, null, GetShadow1(tempBounds)); 1223dc.DrawGeometry(LightBrush, null, GetHighlight2(tempBounds)); 1224dc.DrawGeometry(DarkBrush, null, GetShadow2(tempBounds)); 1237dc.DrawGeometry(LightLightBrush, null, GetHighlight1(bounds)); 1238dc.DrawGeometry(DarkDarkBrush, null, GetShadow1(bounds)); 1239dc.DrawGeometry(LightBrush, null, GetHighlight2(bounds)); 1240dc.DrawGeometry(DarkBrush, null, GetShadow2(bounds)); 1257dc.DrawGeometry(DarkDarkBrush, null, GetHighlight1(tempBounds)); 1258dc.DrawGeometry(LightLightBrush, null, GetShadow1(tempBounds)); 1259dc.DrawGeometry(DarkBrush, null, GetHighlight2(tempBounds)); 1260dc.DrawGeometry(LightBrush, null, GetShadow2(tempBounds)); 1278dc.DrawGeometry(DarkDarkBrush, null, GetHighlight1(tempBounds)); 1279dc.DrawGeometry(LightLightBrush, null, GetShadow1(tempBounds)); 1280dc.DrawGeometry(DarkBrush, null, GetHighlight2(tempBounds)); 1281dc.DrawGeometry(LightBrush, null, GetShadow2(tempBounds)); 1328dc.DrawGeometry(DarkDarkBrush, new Pen(DarkBrush, 1.0), TopLeftArcGeometry); 1329dc.DrawGeometry(LightBrush, new Pen(LightLightBrush, 1.0), BottomRightArcGeometry);
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
189dc.DrawGeometry(sortArrowColor, null, arrowGeometry);
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (1)
279drawingContext.DrawGeometry(brushes[Center], null, geometry);
PresentationFramework.Luna (9)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (2)
233dc.DrawGeometry(tabFill, tabStroke, tabGeometry); 357dc.DrawGeometry(arrowFill, null, arrowGeometry);
Microsoft\Windows\Themes\ScrollChrome.cs (4)
615dc.DrawGeometry(brush, null, LeftArrowGeometry); 619dc.DrawGeometry(brush, null, RightArrowGeometry); 623dc.DrawGeometry(brush, null, UpArrowGeometry); 627dc.DrawGeometry(brush, null, DownArrowGeometry);
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\BulletChrome.cs (2)
295dc.DrawGeometry(glyphFill, null, CheckMarkGeometry); 351dc.DrawGeometry(borderBrush, null, GenerateBorderGeometry(bounds, thickness));
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (1)
279drawingContext.DrawGeometry(brushes[Center], null, geometry);
PresentationFramework.Royale (9)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (2)
155dc.DrawGeometry(tabFill, tabStroke, tabGeometry); 279dc.DrawGeometry(arrowFill, null, arrowGeometry);
Microsoft\Windows\Themes\ScrollChrome.cs (4)
575dc.DrawGeometry(brush, null, LeftArrowGeometry); 579dc.DrawGeometry(brush, null, RightArrowGeometry); 583dc.DrawGeometry(brush, null, UpArrowGeometry); 587dc.DrawGeometry(brush, null, DownArrowGeometry);
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\BulletChrome.cs (2)
295dc.DrawGeometry(glyphFill, null, CheckMarkGeometry); 351dc.DrawGeometry(borderBrush, null, GenerateBorderGeometry(bounds, thickness));
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (1)
279drawingContext.DrawGeometry(brushes[Center], null, geometry);
ReachFramework (12)
AlphaFlattener\BrushProxy.cs (9)
1288dc.DrawGeometry(_brush, null, geo); 1298dc.DrawGeometry(null, pen, geo); 1483context.DrawGeometry(Brushes.Black, null, geometry); 1521context.DrawGeometry(new SolidColorBrush(_beforeDrawing), null, geometry); 1543context.DrawGeometry(_brush, null, geometry); 1571context.DrawGeometry( 1586context.DrawGeometry(new SolidColorBrush(_afterDrawing), null, geometry); 3040context.DrawGeometry( 3135context.DrawGeometry(
AlphaFlattener\Flattener.cs (1)
1391_ctx.DrawGeometry(brush, pen, geometry);
AlphaFlattener\Primitive.cs (1)
1146dc.DrawGeometry(null, p, Geometry);
Serialization\DrawingContextFlattener.cs (1)
897_context.DrawGeometry(brush, pen, geometry);