5 writes to _nativePath
System.Drawing.Common (5)
System\Drawing\Drawing2D\GraphicsPath.cs (5)
23_nativePath = path; 53_nativePath = path; 89_nativePath = path; 106_nativePath = nativePath; 135_nativePath = null;
57 references to _nativePath
System.Drawing.Common (57)
System\Drawing\Drawing2D\GraphicsPath.cs (46)
96PInvokeGdiPlus.GdipClonePath(_nativePath, &path).ThrowIfFailed(); 117if (_nativePath is not null) 124PInvokeGdiPlus.GdipDeletePath(_nativePath); 144PInvokeGdiPlus.GdipResetPath(_nativePath).ThrowIfFailed(); 153PInvokeGdiPlus.GdipGetPathFillMode(_nativePath, &fillMode).ThrowIfFailed(); 162PInvokeGdiPlus.GdipSetPathFillMode(_nativePath, (GdiPlus.FillMode)value).ThrowIfFailed(); 192PInvokeGdiPlus.GdipGetPathData(_nativePath, (GdiPlus.PathData*)&data).ThrowIfFailed(); 202PInvokeGdiPlus.GdipStartPathFigure(_nativePath); 208PInvokeGdiPlus.GdipClosePathFigure(_nativePath).ThrowIfFailed(); 214PInvokeGdiPlus.GdipClosePathFigures(_nativePath).ThrowIfFailed(); 220PInvokeGdiPlus.GdipSetPathMarker(_nativePath).ThrowIfFailed(); 226PInvokeGdiPlus.GdipClearPathMarkers(_nativePath).ThrowIfFailed(); 232PInvokeGdiPlus.GdipReversePath(_nativePath).ThrowIfFailed(); 239PInvokeGdiPlus.GdipGetPathLastPoint(_nativePath, (GdiPlus.PointF*)&point); 252_nativePath, 281_nativePath, 307PInvokeGdiPlus.GdipAddPathLine(_nativePath, x1, y1, x2, y2).ThrowIfFailed(); 341PInvokeGdiPlus.GdipAddPathLine2(_nativePath, (GdiPlus.PointF*)p, points.Length).ThrowIfFailed(); 368PInvokeGdiPlus.GdipAddPathLine2I(_nativePath, (GdiPlus.Point*)p, points.Length).ThrowIfFailed(); 378PInvokeGdiPlus.GdipAddPathArc(_nativePath, x, y, width, height, startAngle, sweepAngle).ThrowIfFailed(); 393PInvokeGdiPlus.GdipAddPathBezier(_nativePath, x1, y1, x2, y2, x3, y3, x4, y4).ThrowIfFailed(); 413PInvokeGdiPlus.GdipAddPathBeziers(_nativePath, (GdiPlus.PointF*)p, points.Length).ThrowIfFailed(); 440PInvokeGdiPlus.GdipAddPathBeziersI(_nativePath, (GdiPlus.Point*)p, points.Length).ThrowIfFailed(); 470_nativePath, 497_nativePath, 518_nativePath, 545_nativePath, 575PInvokeGdiPlus.GdipAddPathClosedCurve2(_nativePath, (GdiPlus.PointF*)p, points.Length, tension).ThrowIfFailed(); 605PInvokeGdiPlus.GdipAddPathClosedCurve2I(_nativePath, (GdiPlus.Point*)p, points.Length, tension).ThrowIfFailed(); 613_nativePath, 634PInvokeGdiPlus.GdipAddPathRectangles(_nativePath, (RectF*)r, rects.Length).ThrowIfFailed(); 654PInvokeGdiPlus.GdipAddPathRectanglesI(_nativePath, (Rect*)r, rects.Length).ThrowIfFailed(); 705PInvokeGdiPlus.GdipAddPathEllipse(_nativePath, x, y, width, height).ThrowIfFailed(); 719_nativePath, 743PInvokeGdiPlus.GdipAddPathPolygon(_nativePath, (GdiPlus.PointF*)p, points.Length).ThrowIfFailed(); 764PInvokeGdiPlus.GdipAddPathPolygonI(_nativePath, (GdiPlus.Point*)p, points.Length).ThrowIfFailed(); 772PInvokeGdiPlus.GdipAddPathPath(_nativePath, addingPath.Pointer(), connect).ThrowIfFailed(); 791_nativePath, 811PInvokeGdiPlus.GdipTransformPath(_nativePath, matrix.NativeMatrix).ThrowIfFailed(); 824_nativePath, 841PInvokeGdiPlus.GdipFlattenPath(_nativePath, matrix.Pointer(), flatness).ThrowIfFailed(); 858PInvokeGdiPlus.GdipWidenPath(_nativePath, pen.Pointer(), matrix.Pointer(), flatness).ThrowIfFailed(); 912_nativePath, 929PInvokeGdiPlus.GdipGetPointCount(_nativePath, &count).ThrowIfFailed(); 974PInvokeGdiPlus.GdipGetPathTypes(_nativePath, t, destination.Length).ThrowIfFailed(); 1019PInvokeGdiPlus.GdipGetPathPoints(_nativePath, (GdiPlus.PointF*)p, destination.Length).ThrowIfFailed();
System\Drawing\Drawing2D\PathGradientBrush.cs (1)
101PInvokeGdiPlus.GdipCreatePathGradientFromPath(path._nativePath, &nativeBrush).ThrowIfFailed();
System\Drawing\Graphics.cs (3)
540CheckStatus(PInvokeGdiPlus.GdipSetClipPath(NativeGraphics, path._nativePath, (GdiPlus.CombineMode)combineMode)); 908CheckErrorStatus(PInvokeGdiPlus.GdipDrawPath(NativeGraphics, pen.NativePen, path._nativePath)); 2856path._nativePath));
System\Drawing\PointerExtensions.cs (1)
22public static GpPath* Pointer(this Drawing2D.GraphicsPath? path) => path is null ? null : path._nativePath;
System\Drawing\Region.cs (6)
38CheckStatus(PInvokeGdiPlus.GdipCreateRegionPath(path._nativePath, &region)); 117CheckStatus(PInvokeGdiPlus.GdipCombineRegionPath(NativeRegion, path._nativePath, GdiPlus.CombineMode.CombineModeIntersect)); 136CheckStatus(PInvokeGdiPlus.GdipCombineRegionPath(NativeRegion, path._nativePath, GdiPlus.CombineMode.CombineModeUnion)); 155CheckStatus(PInvokeGdiPlus.GdipCombineRegionPath(NativeRegion, path._nativePath, GdiPlus.CombineMode.CombineModeXor)); 174CheckStatus(PInvokeGdiPlus.GdipCombineRegionPath(NativeRegion, path._nativePath, GdiPlus.CombineMode.CombineModeExclude)); 193CheckStatus(PInvokeGdiPlus.GdipCombineRegionPath(NativeRegion, path._nativePath, GdiPlus.CombineMode.CombineModeComplement));