15 instantiations of GraphicsPath
System.Drawing.Common (10)
System\Drawing\Drawing2D\GraphicsPath.cs (8)
15/// <inheritdoc cref="GraphicsPath(Point[], byte[], FillMode)"/> 18/// <inheritdoc cref="GraphicsPath(Point[], byte[], FillMode)"/> 26/// <inheritdoc cref="GraphicsPath(Point[], byte[], FillMode)"/> 29/// <inheritdoc cref="GraphicsPath(Point[], byte[], FillMode)"/> 35/// <inheritdoc cref="GraphicsPath(Point[], byte[], FillMode)"/> 57/// <inheritdoc cref="GraphicsPath(Point[], byte[], FillMode)"/> 71/// <inheritdoc cref="GraphicsPath(Point[], byte[], FillMode)"/> 98return new GraphicsPath(path);
System\Drawing\Graphics.cs (2)
733using GraphicsPath path = new(); 1207using GraphicsPath path = new();
System.Windows.Forms (5)
System\Windows\Forms\Controls\Buttons\ButtonInternal\DarkMode\FlatButtonDarkModeRenderer.cs (1)
101using var path = new GraphicsPath();
System\Windows\Forms\Controls\Buttons\ButtonInternal\DarkMode\PopupButtonDarkModeRenderer.cs (1)
226GraphicsPath path = new();
System\Windows\Forms\Controls\Buttons\ButtonInternal\DarkMode\SystemButtonDarkModeRenderer.cs (3)
198GraphicsPath path = new(); 237GraphicsPath path = new(); 276GraphicsPath path = new();
50 references to GraphicsPath
System.Drawing (1)
System.Drawing.cs (1)
33[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Drawing.Drawing2D.GraphicsPath))]
System.Drawing.Common (33)
System\Drawing\Drawing2D\CustomLineCap.cs (6)
15public CustomLineCap(GraphicsPath? fillPath, GraphicsPath? strokePath) : this(fillPath, strokePath, LineCap.Flat) { } 17public CustomLineCap(GraphicsPath? fillPath, GraphicsPath? strokePath, LineCap baseCap) : this(fillPath, strokePath, baseCap, 0) { } 19public CustomLineCap(GraphicsPath? fillPath, GraphicsPath? strokePath, LineCap baseCap, float baseInset)
System\Drawing\Drawing2D\GraphicsPath.cs (5)
61/// Initializes a new instance of the <see cref='GraphicsPath'/> class. 66/// A <see cref="Drawing2D.FillMode"/> enumeration that specifies how the interiors of shapes in this <see cref="GraphicsPath"/> 312/// Appends a series of connected line segments to the end of this <see cref="GraphicsPath"/>. 769public void AddPath(GraphicsPath addingPath, bool connect) 880/// Applies a warp transform, defined by a rectangle and a parallelogram, to this <see cref="GraphicsPath"/>.
System\Drawing\Drawing2D\GraphicsPathIterator.cs (6)
11public GraphicsPathIterator(GraphicsPath? path) 71public int NextSubpath(GraphicsPath path, out bool isClosed) 106public int NextMarker(GraphicsPath path) 190/// Copies the <see cref="GraphicsPath.PathPoints"/> property and <see cref="GraphicsPath.PathTypes"/> property data 191/// of the associated <see cref="GraphicsPath"/>.
System\Drawing\Drawing2D\PathGradientBrush.cs (2)
9/// Encapsulates a <see cref="Brush"/> object that fills the interior of a <see cref="GraphicsPath"/> object with a gradient. 97public PathGradientBrush(GraphicsPath path)
System\Drawing\Graphics.cs (7)
535public void SetClip(GraphicsPath path) => SetClip(path, Drawing2D.CombineMode.Replace); 537public void SetClip(GraphicsPath path, Drawing2D.CombineMode combineMode) 733using GraphicsPath path = new(); 901/// Draws the lines and curves defined by a <see cref='GraphicsPath'/>. 903public void DrawPath(Pen pen, GraphicsPath path) 1207using GraphicsPath path = new(); 2848public void FillPath(Brush brush, GraphicsPath path)
System\Drawing\PointerExtensions.cs (1)
22public static GpPath* Pointer(this Drawing2D.GraphicsPath? path) => path is null ? null : path._nativePath;
System\Drawing\Region.cs (6)
33public Region(GraphicsPath path) 114public void Intersect(GraphicsPath path) 133public void Union(GraphicsPath path) 152public void Xor(GraphicsPath path) 171public void Exclude(GraphicsPath path) 190public void Complement(GraphicsPath path)
System.Windows.Forms (16)
System\Windows\Forms\Controls\Buttons\ButtonInternal\DarkMode\FlatButtonDarkModeRenderer.cs (1)
101using var path = new GraphicsPath();
System\Windows\Forms\Controls\Buttons\ButtonInternal\DarkMode\IButtonRenderer.cs (1)
19static void DrawButtonBorder(Graphics graphics, GraphicsPath path, Color borderColor, int borderWidth)
System\Windows\Forms\Controls\Buttons\ButtonInternal\DarkMode\PopupButtonDarkModeRenderer.cs (5)
49using GraphicsPath path = CreateRoundedRectanglePath(paddedBounds, ButtonCornerRadius); 83using GraphicsPath focusPath = CreateRoundedRectanglePath(focusRect, FocusCornerRadius); 134using GraphicsPath path = CreateRoundedRectanglePath(bounds, ButtonCornerRadius); 224private static GraphicsPath CreateRoundedRectanglePath(Rectangle bounds, int radius) 226GraphicsPath path = new();
System\Windows\Forms\Controls\Buttons\ButtonInternal\DarkMode\SystemButtonDarkModeRenderer.cs (9)
38using GraphicsPath fillPath = CreateRoundedRectanglePath(fillBounds, CornerRadius - DarkBorderGapThickness); 61using GraphicsPath focusPath = CreateRoundedRectanglePath(focusRect, FocusIndicatorCornerRadius); 136using GraphicsPath borderPath = CreateRoundedRectanglePath(borderRect, CornerRadius); 196private static GraphicsPath GetTopLeftSegmentPath(Rectangle bounds, int radius) 198GraphicsPath path = new(); 235private static GraphicsPath GetBottomRightSegmentPath(Rectangle bounds, int radius) 237GraphicsPath path = new(); 274private static GraphicsPath CreateRoundedRectanglePath(Rectangle bounds, int radius) 276GraphicsPath path = new();