80 instantiations of PathGeometry
PresentationCore (21)
System\Windows\Media\CombinedGeometry.cs (2)
266new PathGeometry() : 270new PathGeometry() :
System\Windows\Media\Generated\PathGeometry.cs (1)
153return new PathGeometry();
System\Windows\Media\Geometry.cs (12)
606return new PathGeometry(); 613return new PathGeometry(); 642resultGeometry = new PathGeometry(); 648resultGeometry = new PathGeometry(list.Figures, fillRule, null); 685return new PathGeometry(); 692return new PathGeometry(); 740resultGeometry = new PathGeometry(); 746resultGeometry = new PathGeometry(list.Figures, fillRule, null); 835return new PathGeometry(); 842return new PathGeometry(); 870resultGeometry = new PathGeometry(); 876resultGeometry = new PathGeometry(list.Figures, fillRule, null);
System\Windows\Media\GeometryGroup.cs (1)
61PathGeometry pg = new PathGeometry();
System\Windows\Media\PathFigure.cs (1)
77PathGeometry geometry = new PathGeometry();
System\Windows\Media\PathGeometry.cs (2)
666resultGeometry = new PathGeometry(); 672resultGeometry = new PathGeometry(list.Figures, fillRule, null);
System\Windows\Media\PathStreamGeometryContext.cs (2)
62_pathGeometry = new PathGeometry(); 68_pathGeometry = new PathGeometry();
PresentationFramework (17)
MS\Internal\Controls\InkCanvasSelectionAdorner.cs (1)
288hatchGeometry = new PathGeometry();
MS\Internal\Ink\PenCursorManager.cs (2)
458PathGeometry pathGeometry = new PathGeometry(); 508PathGeometry pathGeometry1 = new PathGeometry();
System\Windows\Controls\Primitives\TickBar.cs (4)
541PathGeometry geo = new PathGeometry(new PathFigure[] { new PathFigure(pt1, segments, true) }); 554geo = new PathGeometry(new PathFigure[] { new PathFigure(pt1, segments, true) }); 646PathGeometry geo = new PathGeometry(new PathFigure[] { new PathFigure(pt1, segments, true) }); 659geo = new PathGeometry(new PathFigure[] { new PathFigure(pt1, segments, true) });
System\windows\Documents\CaretElement.cs (1)
723pathGeometry = new PathGeometry();
System\Windows\Documents\CompositionAdorner.cs (1)
297PathGeometry pathGeometry = new PathGeometry();
System\Windows\Documents\DocumentSequenceTextView.cs (1)
170return (new PathGeometry());;
System\Windows\Documents\FixedSOMPageConstructor.cs (1)
950PathGeometry pg = new PathGeometry();
System\Windows\Documents\FixedTextView.cs (1)
247PathGeometry boundingGeometry = new PathGeometry();
System\Windows\Documents\HighlightVisual.cs (1)
256highlightGeometry = new PathGeometry();
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
7401bamlType.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)
148PathGeometry polygonGeometry = new PathGeometry();
System\Windows\Shapes\Polyline.cs (1)
146PathGeometry polylineGeometry = new PathGeometry();
PresentationFramework.Aero (9)
Microsoft\Windows\Themes\BulletChrome.cs (1)
888PathGeometry path = new PathGeometry();
Microsoft\Windows\Themes\ButtonChrome.cs (1)
630PathGeometry borderGeometry = new PathGeometry();
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
319arrowGeometry = new PathGeometry();
Microsoft\Windows\Themes\ListBoxChrome.cs (1)
488PathGeometry borderGeometry = new PathGeometry();
Microsoft\Windows\Themes\ScrollChrome.cs (4)
608PathGeometry path = new PathGeometry(); 638PathGeometry path = new PathGeometry(); 668PathGeometry path = new PathGeometry(); 698PathGeometry path = new PathGeometry();
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (1)
279PathGeometry geometry = new PathGeometry();
PresentationFramework.Aero2 (9)
Microsoft\Windows\Themes\BulletChrome.cs (1)
888PathGeometry path = new PathGeometry();
Microsoft\Windows\Themes\ButtonChrome.cs (1)
630PathGeometry borderGeometry = new PathGeometry();
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
319arrowGeometry = new PathGeometry();
Microsoft\Windows\Themes\ListBoxChrome.cs (1)
488PathGeometry borderGeometry = new PathGeometry();
Microsoft\Windows\Themes\ScrollChrome.cs (4)
608PathGeometry path = new PathGeometry(); 638PathGeometry path = new PathGeometry(); 668PathGeometry path = new PathGeometry(); 698PathGeometry path = new PathGeometry();
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (1)
279PathGeometry geometry = new PathGeometry();
PresentationFramework.AeroLite (2)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
191arrowGeometry = new PathGeometry();
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (1)
279PathGeometry geometry = new PathGeometry();
PresentationFramework.Classic (5)
Microsoft\Windows\Themes\ClassicBorderDecorator.cs (3)
889PathGeometry geometry = new PathGeometry(); 1093PathGeometry geometry = new PathGeometry(); 1121PathGeometry geometry = new PathGeometry();
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
150arrowGeometry = new PathGeometry();
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (1)
279PathGeometry geometry = new PathGeometry();
PresentationFramework.Luna (8)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (2)
174PathGeometry tabGeometry = new PathGeometry(); 315arrowGeometry = new PathGeometry();
Microsoft\Windows\Themes\ScrollChrome.cs (4)
451PathGeometry path = new PathGeometry(); 484PathGeometry path = new PathGeometry(); 517PathGeometry path = new PathGeometry(); 550PathGeometry path = new PathGeometry();
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\BulletChrome.cs (1)
480PathGeometry geometry = new PathGeometry();
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (1)
279PathGeometry geometry = new PathGeometry();
PresentationFramework.Royale (8)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (2)
103PathGeometry tabGeometry = new PathGeometry(); 237arrowGeometry = new PathGeometry();
Microsoft\Windows\Themes\ScrollChrome.cs (4)
411PathGeometry path = new PathGeometry(); 444PathGeometry path = new PathGeometry(); 477PathGeometry path = new PathGeometry(); 510PathGeometry path = new PathGeometry();
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\BulletChrome.cs (1)
480PathGeometry geometry = new PathGeometry();
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (1)
279PathGeometry geometry = new PathGeometry();
ReachFramework (1)
Serialization\Manager\ReachSerializationUtils.cs (1)
944PathGeometry geometry = new PathGeometry();
193 references to PathGeometry
PresentationCore (97)
System\Windows\Media\Animation\DoubleAnimationUsingPath.cs (6)
60typeof(PathGeometry), 63(PathGeometry)null)); 68public PathGeometry PathGeometry 72return (PathGeometry)GetValue(PathGeometryProperty); 175PathGeometry pathGeometry = PathGeometry; 274PathGeometry pathGeometry = PathGeometry;
System\Windows\Media\Animation\MatrixAnimationUsingPath.cs (6)
203typeof(PathGeometry), 206(PathGeometry)null)); 211public PathGeometry PathGeometry 215return (PathGeometry)GetValue(PathGeometryProperty); 259PathGeometry pathGeometry = PathGeometry; 329PathGeometry pathGeometry = PathGeometry;
System\Windows\Media\Animation\PointAnimationUsingPath.cs (6)
64typeof(PathGeometry), 67(PathGeometry)null)); 72public PathGeometry PathGeometry 76return (PathGeometry)GetValue(PathGeometryProperty); 152PathGeometry pathGeometry = PathGeometry; 231PathGeometry pathGeometry = PathGeometry;
System\Windows\Media\CombinedGeometry.cs (3)
255PathGeometry pathGeometry = GetAsPathGeometry(); 260internal override PathGeometry GetAsPathGeometry() 265PathGeometry geometry1 = (g1 == null) ?
System\Windows\Media\Drawing.cs (1)
118IntersectionDetail IDrawingContent.HitTestGeometry(PathGeometry geometry)
System\Windows\Media\DrawingServices.cs (1)
54internal static IntersectionDetail HitTestGeometry(Drawing drawing, PathGeometry geometry)
System\Windows\Media\EllipseGeometry.cs (2)
301internal override PathGeometry GetAsPathGeometry() 304PathGeometry.ParsePathGeometryData(GetPathGeometryData(), ctx);
System\Windows\Media\FormattedText.cs (1)
1641PathGeometry accumulatedBounds = null;
System\Windows\Media\Generated\PathGeometry.cs (9)
59public new PathGeometry Clone() 61return (PathGeometry)base.Clone(); 68public new PathGeometry CloneCurrentValue() 70return (PathGeometry)base.CloneCurrentValue(); 86PathGeometry target = ((PathGeometry) d); 93PathGeometry target = ((PathGeometry) d); 304Type typeofThis = typeof(PathGeometry);
System\Windows\Media\Geometry.cs (28)
67return PathGeometry.GetPathBounds( 145return PathGeometry.GetPathBounds( 548return PathGeometry.HitTestWithPathGeometry(this, geometry, tolerance, type); 575PathGeometry pathGeometry1 = GetWidenedPathGeometry(pen); 577return PathGeometry.HitTestWithPathGeometry(pathGeometry1, geometry, tolerance, type); 600public virtual PathGeometry GetFlattenedPathGeometry(double tolerance, ToleranceType type) 616PathGeometry resultGeometry = null; 626PathGeometry.FigureList list = new PathGeometry.FigureList(); 635new PathGeometry.AddFigureToListDelegate(list.AddFigureToList), 660public PathGeometry GetFlattenedPathGeometry() 677public virtual PathGeometry GetWidenedPathGeometry(Pen pen, double tolerance, ToleranceType type) 695PathGeometry resultGeometry = null; 710PathGeometry.FigureList list = new PathGeometry.FigureList(); 733new PathGeometry.AddFigureToListDelegate(list.AddFigureToList), 767public PathGeometry GetWidenedPathGeometry(Pen pen) 786public static PathGeometry Combine( 794return PathGeometry.InternalCombine(geometry1, geometry2, mode, transform, tolerance, type); 804public static PathGeometry Combine( 810return PathGeometry.InternalCombine( 829public virtual PathGeometry GetOutlinedPathGeometry(double tolerance, ToleranceType type) 845PathGeometry resultGeometry = null; 854PathGeometry.FigureList list = new PathGeometry.FigureList(); 863new PathGeometry.AddFigureToListDelegate(list.AddFigureToList), 888public PathGeometry GetOutlinedPathGeometry() 897internal abstract PathGeometry GetAsPathGeometry();
System\Windows\Media\GeometryGroup.cs (3)
54PathGeometry pathGeometry = GetAsPathGeometry(); 59internal override PathGeometry GetAsPathGeometry() 61PathGeometry pg = new PathGeometry();
System\Windows\Media\GeometryHitTestParameters.cs (2)
24private PathGeometry _hitGeometryInternal; // The internal geometry we use for hit testing 114internal PathGeometry InternalHitGeometry
System\Windows\Media\GlyphTypeface.cs (1)
1302PathGeometry.ParsePathGeometryData(pathGeoData, ctx);
System\Windows\Media\HitTestWithGeometryDrawingContextWalker.cs (2)
40internal HitTestWithGeometryDrawingContextWalker(PathGeometry geometry) 470private PathGeometry _geometry;
System\Windows\Media\IDrawingContent.cs (1)
57IntersectionDetail HitTestGeometry(PathGeometry geometry);
System\Windows\Media\LineGeometry.cs (2)
197internal override PathGeometry GetAsPathGeometry() 200PathGeometry.ParsePathGeometryData(GetPathGeometryData(), ctx);
System\Windows\Media\Parsers.cs (1)
326PathGeometry pathGeometry = context.GetPathGeometry();
System\Windows\Media\PathFigure.cs (2)
77PathGeometry geometry = new PathGeometry(); 80PathGeometry flattenedGeometry = geometry.GetFlattenedPathGeometry(tolerance, type);
System\Windows\Media\PathGeometry.cs (5)
110public static PathGeometry CreateFromGeometry(Geometry geometry) 618internal static PathGeometry InternalCombine( 626PathGeometry resultGeometry = null; 749MilRectD bounds = PathGeometry.GetPathBoundsAsRB( 929internal override PathGeometry GetAsPathGeometry()
System\Windows\Media\PathStreamGeometryContext.cs (4)
45s_defaultFillRule = (FillRule)PathGeometry.FillRuleProperty.GetDefaultValue(typeof(PathGeometry)); 313internal PathGeometry GetPathGeometry() 468private PathGeometry _pathGeometry;
System\Windows\Media\RectangleGeometry.cs (2)
396internal override PathGeometry GetAsPathGeometry() 399PathGeometry.ParsePathGeometryData(GetPathGeometryData(), ctx);
System\Windows\Media\RenderData.cs (1)
177public IntersectionDetail HitTestGeometry(PathGeometry geometry)
System\Windows\Media\StreamGeometry.cs (4)
188bounds = PathGeometry.GetPathBoundsAsRB( 296internal override PathGeometry GetAsPathGeometry() 299PathGeometry.ParsePathGeometryData(GetPathGeometryData(), ctx); 310PathGeometry thisAsPathGeometry = GetAsPathGeometry();
System\Windows\Media\UnsafeNativeMethodsMilCoreApi.cs (4)
115PathGeometry.AddFigureToListDelegate addFigureCallback, 129PathGeometry.AddFigureToListDelegate addFigureCallback, 140PathGeometry.AddFigureToListDelegate addFigureCallback, 151PathGeometry.AddFigureToListDelegate addFigureCallback,
PresentationFramework (28)
MS\Internal\Controls\InkCanvasSelectionAdorner.cs (1)
241PathGeometry hatchGeometry = null;
MS\Internal\Ink\PenCursorManager.cs (2)
458PathGeometry pathGeometry = new PathGeometry(); 508PathGeometry pathGeometry1 = new PathGeometry();
System\Windows\Controls\Primitives\TickBar.cs (2)
541PathGeometry geo = new PathGeometry(new PathFigure[] { new PathFigure(pt1, segments, true) }); 646PathGeometry geo = new PathGeometry(new PathFigure[] { new PathFigure(pt1, segments, true) });
System\windows\Documents\CaretElement.cs (1)
720PathGeometry pathGeometry;
System\Windows\Documents\CompositionAdorner.cs (1)
297PathGeometry pathGeometry = new PathGeometry();
System\Windows\Documents\FixedSOMPageConstructor.cs (6)
65PathGeometry.ParsePathGeometryData(geometry.GetPathGeometryData(), this); 326PathGeometry pathGeom = PathGeometry.CreateFromGeometry(geom); 941private void _ProcessSolidPath(Matrix transform, PathGeometry pathGeom) 950PathGeometry pg = new PathGeometry(); 959private void _ProcessOutlinePath(Matrix transform, PathGeometry pathGeom)
System\Windows\Documents\FixedTextBuilder.cs (2)
1345g = PathGeometry.CreateFromGeometry(geom); 1428geom = PathGeometry.CreateFromGeometry(geom);
System\Windows\Documents\FixedTextView.cs (1)
247PathGeometry boundingGeometry = new PathGeometry();
System\Windows\Documents\HighlightVisual.cs (1)
178PathGeometry highlightGeometry = null;
System\Windows\FrameworkElement.cs (1)
4997PathGeometry combinedClip = Geometry.Combine(localClip, slotClip, GeometryCombineMode.Intersect, null);
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
542case 446: t = () => typeof(PathGeometry); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (3)
3197Type type = typeof(System.Windows.Media.PathGeometry); 3198DependencyProperty dp = System.Windows.Media.PathGeometry.FiguresProperty; 3200this.GetXamlType(typeof(System.Windows.Media.PathGeometry)), // DeclaringType
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
7399typeof(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)
148PathGeometry polygonGeometry = new PathGeometry();
System\Windows\Shapes\Polyline.cs (1)
146PathGeometry polylineGeometry = new PathGeometry();
PresentationFramework.Aero (10)
Microsoft\Windows\Themes\BulletChrome.cs (1)
888PathGeometry path = new PathGeometry();
Microsoft\Windows\Themes\ButtonChrome.cs (1)
630PathGeometry borderGeometry = new PathGeometry();
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (2)
316PathGeometry arrowGeometry = (PathGeometry)GetCachedFreezable(ascending ? (int)AeroFreezables.ArrowUpGeometry : (int)AeroFreezables.ArrowDownGeometry);
Microsoft\Windows\Themes\ListBoxChrome.cs (1)
488PathGeometry borderGeometry = new PathGeometry();
Microsoft\Windows\Themes\ScrollChrome.cs (4)
608PathGeometry path = new PathGeometry(); 638PathGeometry path = new PathGeometry(); 668PathGeometry path = new PathGeometry(); 698PathGeometry path = new PathGeometry();
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (1)
279PathGeometry geometry = new PathGeometry();
PresentationFramework.Aero2 (10)
Microsoft\Windows\Themes\BulletChrome.cs (1)
888PathGeometry path = new PathGeometry();
Microsoft\Windows\Themes\ButtonChrome.cs (1)
630PathGeometry borderGeometry = new PathGeometry();
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (2)
316PathGeometry arrowGeometry = (PathGeometry)GetCachedFreezable(ascending ? (int)AeroFreezables.ArrowUpGeometry : (int)AeroFreezables.ArrowDownGeometry);
Microsoft\Windows\Themes\ListBoxChrome.cs (1)
488PathGeometry borderGeometry = new PathGeometry();
Microsoft\Windows\Themes\ScrollChrome.cs (4)
608PathGeometry path = new PathGeometry(); 638PathGeometry path = new PathGeometry(); 668PathGeometry path = new PathGeometry(); 698PathGeometry path = new PathGeometry();
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (1)
279PathGeometry geometry = new PathGeometry();
PresentationFramework.AeroLite (3)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (2)
188PathGeometry arrowGeometry = (PathGeometry)GetCachedFreezable(ascending ? (int)AeroLiteFreezables.ArrowUpGeometry : (int)AeroLiteFreezables.ArrowDownGeometry);
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (1)
279PathGeometry geometry = new PathGeometry();
PresentationFramework.Classic (6)
Microsoft\Windows\Themes\ClassicBorderDecorator.cs (3)
889PathGeometry geometry = new PathGeometry(); 1093PathGeometry geometry = new PathGeometry(); 1121PathGeometry geometry = new PathGeometry();
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (2)
147PathGeometry arrowGeometry = (PathGeometry)GetCachedFreezable(ascending ? (int)ClassicFreezables.ArrowUpGeometry : (int)ClassicFreezables.ArrowDownGeometry);
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (1)
279PathGeometry geometry = new PathGeometry();
PresentationFramework.Luna (9)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (3)
174PathGeometry tabGeometry = new PathGeometry(); 312PathGeometry arrowGeometry = (PathGeometry)GetCachedFreezable(ascending ? (int)LunaFreezables.ArrowUpGeometry : (int)LunaFreezables.ArrowDownGeometry);
Microsoft\Windows\Themes\ScrollChrome.cs (4)
451PathGeometry path = new PathGeometry(); 484PathGeometry path = new PathGeometry(); 517PathGeometry path = new PathGeometry(); 550PathGeometry path = new PathGeometry();
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\BulletChrome.cs (1)
480PathGeometry geometry = new PathGeometry();
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (1)
279PathGeometry geometry = new PathGeometry();
PresentationFramework.Royale (9)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (3)
103PathGeometry tabGeometry = new PathGeometry(); 234PathGeometry arrowGeometry = (PathGeometry)GetCachedFreezable(ascending ? (int)RoyaleFreezables.ArrowUpGeometry : (int)RoyaleFreezables.ArrowDownGeometry);
Microsoft\Windows\Themes\ScrollChrome.cs (4)
411PathGeometry path = new PathGeometry(); 444PathGeometry path = new PathGeometry(); 477PathGeometry path = new PathGeometry(); 510PathGeometry path = new PathGeometry();
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\BulletChrome.cs (1)
480PathGeometry geometry = new PathGeometry();
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (1)
279PathGeometry geometry = new PathGeometry();
ReachFramework (21)
AlphaFlattener\Utility.cs (16)
458static public PathGeometry GetAsPathGeometry(Geometry geo) 460PathGeometry pg = geo as PathGeometry; 464pg = PathGeometry.CreateFromGeometry(geo); 492PathGeometry pathGeometry = geometry as PathGeometry; 522private static bool IsRectangle(PathGeometry geometry) 620PathGeometry pathGeometry = geometry as PathGeometry; 661PathGeometry pg = g as PathGeometry; 858if (geometry is PathGeometry || 873PathGeometry pathGeometry = GetAsPathGeometry(geometry); 896public static int GetPathPointCount(PathGeometry geometry) 2397PathGeometry.ParsePathGeometryData(geometryData, analyzer); 2437PathGeometry.ParsePathGeometryData(geometryData, analyzer);
Serialization\Manager\ReachSerializationUtils.cs (2)
944PathGeometry geometry = new PathGeometry(); 960private void SerializeHyperlink(PathGeometry geometry, String id, Uri navigateUri)
Serialization\VisualSerializer.cs (3)
1200private string PathGeometryToString(PathGeometry path, Matrix map, bool forFill, bool forStroke) 1444PathGeometry pg = null; 1550private static bool IsPathGeometryEmpty(PathGeometry pg, bool forFill, bool forStroke)