80 instantiations of PathGeometry
PresentationCore (21)
System\Windows\Media\CombinedGeometry.cs (2)
247new PathGeometry() : 251new PathGeometry() :
System\Windows\Media\Generated\PathGeometry.cs (1)
127return new PathGeometry();
System\Windows\Media\Geometry.cs (12)
594return new PathGeometry(); 601return new PathGeometry(); 630resultGeometry = new PathGeometry(); 636resultGeometry = new PathGeometry(list.Figures, fillRule, null); 673return new PathGeometry(); 680return new PathGeometry(); 728resultGeometry = new PathGeometry(); 734resultGeometry = new PathGeometry(list.Figures, fillRule, null); 823return new PathGeometry(); 830return new PathGeometry(); 858resultGeometry = new PathGeometry(); 864resultGeometry = new PathGeometry(list.Figures, fillRule, null);
System\Windows\Media\GeometryGroup.cs (1)
44PathGeometry pg = new PathGeometry();
System\Windows\Media\PathFigure.cs (1)
58PathGeometry geometry = new PathGeometry();
System\Windows\Media\PathGeometry.cs (2)
642resultGeometry = new PathGeometry(); 648resultGeometry = new PathGeometry(list.Figures, fillRule, null);
System\Windows\Media\PathStreamGeometryContext.cs (2)
45_pathGeometry = new PathGeometry(); 51_pathGeometry = new PathGeometry();
PresentationFramework (17)
MS\Internal\Controls\InkCanvasSelectionAdorner.cs (1)
281hatchGeometry = new PathGeometry();
MS\Internal\Ink\PenCursorManager.cs (2)
453PathGeometry pathGeometry = new PathGeometry(); 503PathGeometry pathGeometry1 = new PathGeometry();
System\Windows\Controls\Primitives\TickBar.cs (4)
527PathGeometry geo = new PathGeometry(new PathFigure[] { new PathFigure(pt1, segments, true) }); 540geo = new PathGeometry(new PathFigure[] { new PathFigure(pt1, segments, true) }); 632PathGeometry geo = new PathGeometry(new PathFigure[] { new PathFigure(pt1, segments, true) }); 645geo = new PathGeometry(new PathFigure[] { new PathFigure(pt1, segments, true) });
System\windows\Documents\CaretElement.cs (1)
720pathGeometry = new PathGeometry();
System\Windows\Documents\CompositionAdorner.cs (1)
294PathGeometry pathGeometry = new PathGeometry();
System\Windows\Documents\DocumentSequenceTextView.cs (1)
162return (new PathGeometry());;
System\Windows\Documents\FixedSOMPageConstructor.cs (1)
945PathGeometry pg = new PathGeometry();
System\Windows\Documents\FixedTextView.cs (1)
239PathGeometry boundingGeometry = new PathGeometry();
System\Windows\Documents\HighlightVisual.cs (1)
246highlightGeometry = new PathGeometry();
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
7399bamlType.DefaultConstructor = delegate() { return new System.Windows.Media.PathGeometry(); };
System\Windows\Markup\KnownTypes.cs (1)
1444case KnownElements.PathGeometry: o = new System.Windows.Media.PathGeometry(); break;
System\Windows\Shapes\Polygon.cs (1)
141PathGeometry polygonGeometry = new PathGeometry();
System\Windows\Shapes\Polyline.cs (1)
139PathGeometry polylineGeometry = new PathGeometry();
PresentationFramework.Aero (9)
Microsoft\Windows\Themes\BulletChrome.cs (1)
882PathGeometry path = new PathGeometry();
Microsoft\Windows\Themes\ButtonChrome.cs (1)
621PathGeometry borderGeometry = new PathGeometry();
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
316arrowGeometry = new PathGeometry();
Microsoft\Windows\Themes\ListBoxChrome.cs (1)
482PathGeometry borderGeometry = new PathGeometry();
Microsoft\Windows\Themes\ScrollChrome.cs (4)
603PathGeometry path = new PathGeometry(); 633PathGeometry path = new PathGeometry(); 663PathGeometry path = new PathGeometry(); 693PathGeometry path = new PathGeometry();
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (1)
275PathGeometry geometry = new PathGeometry();
PresentationFramework.Aero2 (9)
Microsoft\Windows\Themes\BulletChrome.cs (1)
882PathGeometry path = new PathGeometry();
Microsoft\Windows\Themes\ButtonChrome.cs (1)
621PathGeometry borderGeometry = new PathGeometry();
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
316arrowGeometry = new PathGeometry();
Microsoft\Windows\Themes\ListBoxChrome.cs (1)
482PathGeometry borderGeometry = new PathGeometry();
Microsoft\Windows\Themes\ScrollChrome.cs (4)
603PathGeometry path = new PathGeometry(); 633PathGeometry path = new PathGeometry(); 663PathGeometry path = new PathGeometry(); 693PathGeometry path = new PathGeometry();
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (1)
275PathGeometry geometry = new PathGeometry();
PresentationFramework.AeroLite (2)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
188arrowGeometry = new PathGeometry();
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (1)
275PathGeometry geometry = new PathGeometry();
PresentationFramework.Classic (5)
Microsoft\Windows\Themes\ClassicBorderDecorator.cs (3)
886PathGeometry geometry = new PathGeometry(); 1090PathGeometry geometry = new PathGeometry(); 1118PathGeometry geometry = new PathGeometry();
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
146arrowGeometry = new PathGeometry();
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (1)
275PathGeometry geometry = new PathGeometry();
PresentationFramework.Luna (8)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (2)
171PathGeometry tabGeometry = new PathGeometry(); 312arrowGeometry = new PathGeometry();
Microsoft\Windows\Themes\ScrollChrome.cs (4)
447PathGeometry path = new PathGeometry(); 480PathGeometry path = new PathGeometry(); 513PathGeometry path = new PathGeometry(); 546PathGeometry path = new PathGeometry();
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\BulletChrome.cs (1)
476PathGeometry geometry = new PathGeometry();
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (1)
275PathGeometry geometry = new PathGeometry();
PresentationFramework.Royale (8)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (2)
100PathGeometry tabGeometry = new PathGeometry(); 234arrowGeometry = new PathGeometry();
Microsoft\Windows\Themes\ScrollChrome.cs (4)
407PathGeometry path = new PathGeometry(); 440PathGeometry path = new PathGeometry(); 473PathGeometry path = new PathGeometry(); 506PathGeometry path = new PathGeometry();
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\BulletChrome.cs (1)
476PathGeometry geometry = new PathGeometry();
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (1)
275PathGeometry geometry = new PathGeometry();
ReachFramework (1)
Serialization\Manager\ReachSerializationUtils.cs (1)
934PathGeometry geometry = new PathGeometry();
193 references to PathGeometry
PresentationCore (97)
System\Windows\Media\Animation\DoubleAnimationUsingPath.cs (6)
51typeof(PathGeometry), 54(PathGeometry)null)); 59public PathGeometry PathGeometry 63return (PathGeometry)GetValue(PathGeometryProperty); 166PathGeometry pathGeometry = PathGeometry; 265PathGeometry pathGeometry = PathGeometry;
System\Windows\Media\Animation\MatrixAnimationUsingPath.cs (6)
189typeof(PathGeometry), 192(PathGeometry)null)); 197public PathGeometry PathGeometry 201return (PathGeometry)GetValue(PathGeometryProperty); 245PathGeometry pathGeometry = PathGeometry; 315PathGeometry pathGeometry = PathGeometry;
System\Windows\Media\Animation\PointAnimationUsingPath.cs (6)
49typeof(PathGeometry), 52(PathGeometry)null)); 57public PathGeometry PathGeometry 61return (PathGeometry)GetValue(PathGeometryProperty); 137PathGeometry pathGeometry = PathGeometry; 216PathGeometry pathGeometry = PathGeometry;
System\Windows\Media\CombinedGeometry.cs (3)
236PathGeometry pathGeometry = GetAsPathGeometry(); 241internal override PathGeometry GetAsPathGeometry() 246PathGeometry geometry1 = (g1 == null) ?
System\Windows\Media\Drawing.cs (1)
109IntersectionDetail IDrawingContent.HitTestGeometry(PathGeometry geometry)
System\Windows\Media\DrawingServices.cs (1)
51internal static IntersectionDetail HitTestGeometry(Drawing drawing, PathGeometry geometry)
System\Windows\Media\EllipseGeometry.cs (2)
284internal override PathGeometry GetAsPathGeometry() 287PathGeometry.ParsePathGeometryData(GetPathGeometryData(), ctx);
System\Windows\Media\FormattedText.cs (1)
1625PathGeometry accumulatedBounds = null;
System\Windows\Media\Generated\PathGeometry.cs (9)
33public new PathGeometry Clone() 35return (PathGeometry)base.Clone(); 42public new PathGeometry CloneCurrentValue() 44return (PathGeometry)base.CloneCurrentValue(); 60PathGeometry target = ((PathGeometry) d); 67PathGeometry target = ((PathGeometry) d); 278Type typeofThis = typeof(PathGeometry);
System\Windows\Media\Geometry.cs (28)
55return PathGeometry.GetPathBounds( 133return PathGeometry.GetPathBounds( 536return PathGeometry.HitTestWithPathGeometry(this, geometry, tolerance, type); 563PathGeometry pathGeometry1 = GetWidenedPathGeometry(pen); 565return PathGeometry.HitTestWithPathGeometry(pathGeometry1, geometry, tolerance, type); 588public virtual PathGeometry GetFlattenedPathGeometry(double tolerance, ToleranceType type) 604PathGeometry resultGeometry = null; 614PathGeometry.FigureList list = new PathGeometry.FigureList(); 623new PathGeometry.AddFigureToListDelegate(list.AddFigureToList), 648public PathGeometry GetFlattenedPathGeometry() 665public virtual PathGeometry GetWidenedPathGeometry(Pen pen, double tolerance, ToleranceType type) 683PathGeometry resultGeometry = null; 698PathGeometry.FigureList list = new PathGeometry.FigureList(); 721new PathGeometry.AddFigureToListDelegate(list.AddFigureToList), 755public PathGeometry GetWidenedPathGeometry(Pen pen) 774public static PathGeometry Combine( 782return PathGeometry.InternalCombine(geometry1, geometry2, mode, transform, tolerance, type); 792public static PathGeometry Combine( 798return PathGeometry.InternalCombine( 817public virtual PathGeometry GetOutlinedPathGeometry(double tolerance, ToleranceType type) 833PathGeometry resultGeometry = null; 842PathGeometry.FigureList list = new PathGeometry.FigureList(); 851new PathGeometry.AddFigureToListDelegate(list.AddFigureToList), 876public PathGeometry GetOutlinedPathGeometry() 885internal abstract PathGeometry GetAsPathGeometry();
System\Windows\Media\GeometryGroup.cs (3)
37PathGeometry pathGeometry = GetAsPathGeometry(); 42internal override PathGeometry GetAsPathGeometry() 44PathGeometry pg = new PathGeometry();
System\Windows\Media\GeometryHitTestParameters.cs (2)
16private PathGeometry _hitGeometryInternal; // The internal geometry we use for hit testing 106internal PathGeometry InternalHitGeometry
System\Windows\Media\GlyphTypeface.cs (1)
1293PathGeometry.ParsePathGeometryData(pathGeoData, ctx);
System\Windows\Media\HitTestWithGeometryDrawingContextWalker.cs (2)
27internal HitTestWithGeometryDrawingContextWalker(PathGeometry geometry) 457private PathGeometry _geometry;
System\Windows\Media\IDrawingContent.cs (1)
56IntersectionDetail HitTestGeometry(PathGeometry geometry);
System\Windows\Media\LineGeometry.cs (2)
180internal override PathGeometry GetAsPathGeometry() 183PathGeometry.ParsePathGeometryData(GetPathGeometryData(), ctx);
System\Windows\Media\Parsers.cs (1)
312PathGeometry pathGeometry = context.GetPathGeometry();
System\Windows\Media\PathFigure.cs (2)
58PathGeometry geometry = new PathGeometry(); 61PathGeometry flattenedGeometry = geometry.GetFlattenedPathGeometry(tolerance, type);
System\Windows\Media\PathGeometry.cs (5)
86public static PathGeometry CreateFromGeometry(Geometry geometry) 594internal static PathGeometry InternalCombine( 602PathGeometry resultGeometry = null; 725MilRectD bounds = PathGeometry.GetPathBoundsAsRB( 905internal override PathGeometry GetAsPathGeometry()
System\Windows\Media\PathStreamGeometryContext.cs (4)
28s_defaultFillRule = (FillRule)PathGeometry.FillRuleProperty.GetDefaultValue(typeof(PathGeometry)); 296internal PathGeometry GetPathGeometry() 451private PathGeometry _pathGeometry;
System\Windows\Media\RectangleGeometry.cs (2)
381internal override PathGeometry GetAsPathGeometry() 384PathGeometry.ParsePathGeometryData(GetPathGeometryData(), ctx);
System\Windows\Media\RenderData.cs (1)
166public IntersectionDetail HitTestGeometry(PathGeometry geometry)
System\Windows\Media\StreamGeometry.cs (4)
167bounds = PathGeometry.GetPathBoundsAsRB( 275internal override PathGeometry GetAsPathGeometry() 278PathGeometry.ParsePathGeometryData(GetPathGeometryData(), ctx); 289PathGeometry thisAsPathGeometry = GetAsPathGeometry();
System\Windows\Media\UnsafeNativeMethodsMilCoreApi.cs (4)
103PathGeometry.AddFigureToListDelegate addFigureCallback, 117PathGeometry.AddFigureToListDelegate addFigureCallback, 128PathGeometry.AddFigureToListDelegate addFigureCallback, 139PathGeometry.AddFigureToListDelegate addFigureCallback,
PresentationFramework (28)
MS\Internal\Controls\InkCanvasSelectionAdorner.cs (1)
234PathGeometry hatchGeometry = null;
MS\Internal\Ink\PenCursorManager.cs (2)
453PathGeometry pathGeometry = new PathGeometry(); 503PathGeometry pathGeometry1 = new PathGeometry();
System\Windows\Controls\Primitives\TickBar.cs (2)
527PathGeometry geo = new PathGeometry(new PathFigure[] { new PathFigure(pt1, segments, true) }); 632PathGeometry geo = new PathGeometry(new PathFigure[] { new PathFigure(pt1, segments, true) });
System\windows\Documents\CaretElement.cs (1)
717PathGeometry pathGeometry;
System\Windows\Documents\CompositionAdorner.cs (1)
294PathGeometry pathGeometry = new PathGeometry();
System\Windows\Documents\FixedSOMPageConstructor.cs (6)
60PathGeometry.ParsePathGeometryData(geometry.GetPathGeometryData(), this); 321PathGeometry pathGeom = PathGeometry.CreateFromGeometry(geom); 936private void _ProcessSolidPath(Matrix transform, PathGeometry pathGeom) 945PathGeometry pg = new PathGeometry(); 954private void _ProcessOutlinePath(Matrix transform, PathGeometry pathGeom)
System\Windows\Documents\FixedTextBuilder.cs (2)
1339g = PathGeometry.CreateFromGeometry(geom); 1422geom = PathGeometry.CreateFromGeometry(geom);
System\Windows\Documents\FixedTextView.cs (1)
239PathGeometry boundingGeometry = new PathGeometry();
System\Windows\Documents\HighlightVisual.cs (1)
168PathGeometry highlightGeometry = null;
System\Windows\FrameworkElement.cs (1)
4986PathGeometry combinedClip = Geometry.Combine(localClip, slotClip, GeometryCombineMode.Intersect, null);
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
540case 446: t = () => typeof(PathGeometry); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (3)
3195Type type = typeof(System.Windows.Media.PathGeometry); 3196DependencyProperty dp = System.Windows.Media.PathGeometry.FiguresProperty; 3198this.GetXamlType(typeof(System.Windows.Media.PathGeometry)), // DeclaringType
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
7397typeof(System.Windows.Media.PathGeometry),
System\Windows\Markup\KnownTypes.cs (3)
1858return System.Windows.Media.PathGeometry.FiguresProperty; 2517case KnownElements.PathGeometry: return (o as System.Windows.Media.PathGeometry).Figures; 6000case KnownElements.PathGeometry: t = typeof(System.Windows.Media.PathGeometry); break;
System\Windows\Shapes\Polygon.cs (1)
141PathGeometry polygonGeometry = new PathGeometry();
System\Windows\Shapes\Polyline.cs (1)
139PathGeometry polylineGeometry = new PathGeometry();
PresentationFramework.Aero (10)
Microsoft\Windows\Themes\BulletChrome.cs (1)
882PathGeometry path = new PathGeometry();
Microsoft\Windows\Themes\ButtonChrome.cs (1)
621PathGeometry borderGeometry = new PathGeometry();
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (2)
313PathGeometry arrowGeometry = (PathGeometry)GetCachedFreezable(ascending ? (int)AeroFreezables.ArrowUpGeometry : (int)AeroFreezables.ArrowDownGeometry);
Microsoft\Windows\Themes\ListBoxChrome.cs (1)
482PathGeometry borderGeometry = new PathGeometry();
Microsoft\Windows\Themes\ScrollChrome.cs (4)
603PathGeometry path = new PathGeometry(); 633PathGeometry path = new PathGeometry(); 663PathGeometry path = new PathGeometry(); 693PathGeometry path = new PathGeometry();
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (1)
275PathGeometry geometry = new PathGeometry();
PresentationFramework.Aero2 (10)
Microsoft\Windows\Themes\BulletChrome.cs (1)
882PathGeometry path = new PathGeometry();
Microsoft\Windows\Themes\ButtonChrome.cs (1)
621PathGeometry borderGeometry = new PathGeometry();
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (2)
313PathGeometry arrowGeometry = (PathGeometry)GetCachedFreezable(ascending ? (int)AeroFreezables.ArrowUpGeometry : (int)AeroFreezables.ArrowDownGeometry);
Microsoft\Windows\Themes\ListBoxChrome.cs (1)
482PathGeometry borderGeometry = new PathGeometry();
Microsoft\Windows\Themes\ScrollChrome.cs (4)
603PathGeometry path = new PathGeometry(); 633PathGeometry path = new PathGeometry(); 663PathGeometry path = new PathGeometry(); 693PathGeometry path = new PathGeometry();
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (1)
275PathGeometry geometry = new PathGeometry();
PresentationFramework.AeroLite (3)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (2)
185PathGeometry arrowGeometry = (PathGeometry)GetCachedFreezable(ascending ? (int)AeroLiteFreezables.ArrowUpGeometry : (int)AeroLiteFreezables.ArrowDownGeometry);
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (1)
275PathGeometry geometry = new PathGeometry();
PresentationFramework.Classic (6)
Microsoft\Windows\Themes\ClassicBorderDecorator.cs (3)
886PathGeometry geometry = new PathGeometry(); 1090PathGeometry geometry = new PathGeometry(); 1118PathGeometry geometry = new PathGeometry();
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (2)
143PathGeometry arrowGeometry = (PathGeometry)GetCachedFreezable(ascending ? (int)ClassicFreezables.ArrowUpGeometry : (int)ClassicFreezables.ArrowDownGeometry);
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (1)
275PathGeometry geometry = new PathGeometry();
PresentationFramework.Luna (9)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (3)
171PathGeometry tabGeometry = new PathGeometry(); 309PathGeometry arrowGeometry = (PathGeometry)GetCachedFreezable(ascending ? (int)LunaFreezables.ArrowUpGeometry : (int)LunaFreezables.ArrowDownGeometry);
Microsoft\Windows\Themes\ScrollChrome.cs (4)
447PathGeometry path = new PathGeometry(); 480PathGeometry path = new PathGeometry(); 513PathGeometry path = new PathGeometry(); 546PathGeometry path = new PathGeometry();
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\BulletChrome.cs (1)
476PathGeometry geometry = new PathGeometry();
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (1)
275PathGeometry geometry = new PathGeometry();
PresentationFramework.Royale (9)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (3)
100PathGeometry tabGeometry = new PathGeometry(); 231PathGeometry arrowGeometry = (PathGeometry)GetCachedFreezable(ascending ? (int)RoyaleFreezables.ArrowUpGeometry : (int)RoyaleFreezables.ArrowDownGeometry);
Microsoft\Windows\Themes\ScrollChrome.cs (4)
407PathGeometry path = new PathGeometry(); 440PathGeometry path = new PathGeometry(); 473PathGeometry path = new PathGeometry(); 506PathGeometry path = new PathGeometry();
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\BulletChrome.cs (1)
476PathGeometry geometry = new PathGeometry();
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (1)
275PathGeometry geometry = new PathGeometry();
ReachFramework (21)
AlphaFlattener\Utility.cs (16)
447static public PathGeometry GetAsPathGeometry(Geometry geo) 449PathGeometry pg = geo as PathGeometry; 453pg = PathGeometry.CreateFromGeometry(geo); 481PathGeometry pathGeometry = geometry as PathGeometry; 511private static bool IsRectangle(PathGeometry geometry) 609PathGeometry pathGeometry = geometry as PathGeometry; 650PathGeometry pg = g as PathGeometry; 847if (geometry is PathGeometry || 862PathGeometry pathGeometry = GetAsPathGeometry(geometry); 885public static int GetPathPointCount(PathGeometry geometry) 2386PathGeometry.ParsePathGeometryData(geometryData, analyzer); 2426PathGeometry.ParsePathGeometryData(geometryData, analyzer);
Serialization\Manager\ReachSerializationUtils.cs (2)
934PathGeometry geometry = new PathGeometry(); 950private void SerializeHyperlink(PathGeometry geometry, String id, Uri navigateUri)
Serialization\VisualSerializer.cs (3)
1192private string PathGeometryToString(PathGeometry path, Matrix map, bool forFill, bool forStroke) 1436PathGeometry pg = null; 1542private static bool IsPathGeometryEmpty(PathGeometry pg, bool forFill, bool forStroke)