16 instantiations of GraphicsPath
System.Windows.Forms (16)
System\Windows\Forms\Controls\Buttons\ButtonInternal\DarkMode\FlatButtonDarkModeRenderer.cs (1)
112
using var path = new
GraphicsPath
();
System\Windows\Forms\Controls\Buttons\ButtonInternal\DarkMode\ModernButtonDarkModeRenderer.cs (1)
227
GraphicsPath path =
new
();
System\Windows\Forms\Controls\Buttons\ButtonInternal\DarkMode\PopupButtonDarkModeRenderer.cs (1)
201
GraphicsPath path =
new
();
System\Windows\Forms\Controls\Buttons\ButtonInternal\DarkMode\SystemButtonDarkModeRenderer.cs (3)
225
GraphicsPath path =
new
();
264
GraphicsPath path =
new
();
314
GraphicsPath path =
new
();
System\Windows\Forms\Controls\ComboBox\ComboBox.ModernComboAdapter.cs (1)
485
GraphicsPath path =
new
();
System\Windows\Forms\Controls\GroupBox\GroupBox.Modern.cs (1)
521
GraphicsPath path =
new
();
System\Windows\Forms\Controls\TextBox\TextBoxBase.cs (2)
2768
GraphicsPath path =
new
();
2893
using GraphicsPath roundedBodyPath =
new
();
System\Windows\Forms\Controls\UpDown\UpDownBase.cs (1)
1141
using GraphicsPath bodyPath =
new
();
System\Windows\Forms\ParentBackgroundRenderer.cs (1)
85
using GraphicsPath outline =
new
();
System\Windows\Forms\Rendering\Animation\AnimatedFocusIndicatorRenderer.cs (1)
114
using GraphicsPath focusPath =
new
();
System\Windows\Forms\Rendering\Button\PopupButtonKeyCapRenderer.cs (1)
612
GraphicsPath path =
new
();
System\Windows\Forms\Rendering\CheckBox\AnimatedCheckGlyphRenderer.cs (1)
246
GraphicsPath path =
new
();
System\Windows\Forms\Rendering\CheckBox\AnimatedToggleSwitchRenderer.cs (1)
321
using GraphicsPath path =
new
();
58 references to GraphicsPath
System.Drawing (1)
System.Drawing.cs (1)
33
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Drawing.Drawing2D.
GraphicsPath
))]
System.Windows.Forms (57)
System\Windows\Forms\Controls\Buttons\ButtonInternal\DarkMode\FlatButtonDarkModeRenderer.cs (1)
112
using
var
path = new GraphicsPath();
System\Windows\Forms\Controls\Buttons\ButtonInternal\DarkMode\IButtonRenderer.cs (1)
19
static void DrawButtonBorder(Graphics graphics,
GraphicsPath
path, Color borderColor, int borderWidth)
System\Windows\Forms\Controls\Buttons\ButtonInternal\DarkMode\ModernButtonDarkModeRenderer.cs (9)
107
using
GraphicsPath
borderPath = CreateRingPath(
118
using
GraphicsPath
bodyPath = CreateRoundedPath(pathBounds, radius);
153
using
GraphicsPath
gapPath = CreateRingPath(
162
using
GraphicsPath
ringPath = CreateRingPath(
225
private static
GraphicsPath
CreateRoundedPath(RectangleF bounds, float radius)
227
GraphicsPath
path = new();
233
private static
GraphicsPath
CreateRingPath(
238
GraphicsPath
path = CreateRoundedPath(outerBounds, outerRadius);
241
using
GraphicsPath
innerPath = CreateRoundedPath(innerBounds, innerRadius);
System\Windows\Forms\Controls\Buttons\ButtonInternal\DarkMode\PopupButtonDarkModeRenderer.cs (4)
42
using
GraphicsPath
bodyPath = CreateRoundedPath(bodyBounds);
127
using
GraphicsPath
borderClip = CreateRoundedPath(bounds);
199
private
GraphicsPath
CreateRoundedPath(Rectangle bounds)
201
GraphicsPath
path = new();
System\Windows\Forms\Controls\Buttons\ButtonInternal\DarkMode\SystemButtonDarkModeRenderer.cs (12)
49
using
GraphicsPath
fillPath = CreateRoundedPath(pathBounds, FocusIndicatorCornerRadius);
79
using
GraphicsPath
focusPath = CreateRingPath(
161
using
GraphicsPath
borderPath = CreateRoundedPath(
223
private static
GraphicsPath
GetTopLeftSegmentPath(Rectangle bounds, int radius)
225
GraphicsPath
path = new();
262
private static
GraphicsPath
GetBottomRightSegmentPath(Rectangle bounds, int radius)
264
GraphicsPath
path = new();
312
private static
GraphicsPath
CreateRoundedPath(RectangleF bounds, float radius)
314
GraphicsPath
path = new();
320
private static
GraphicsPath
CreateRingPath(
325
GraphicsPath
path = CreateRoundedPath(outerBounds, outerRadius);
328
using
GraphicsPath
innerPath = CreateRoundedPath(innerBounds, innerRadius);
System\Windows\Forms\Controls\ComboBox\ComboBox.ModernComboAdapter.cs (4)
375
using
GraphicsPath
path = CreateFieldPath(
438
using
GraphicsPath
path = CreateFieldPath(
481
private static
GraphicsPath
CreateFieldPath(
485
GraphicsPath
path = new();
System\Windows\Forms\Controls\GroupBox\GroupBox.Modern.cs (4)
376
using
GraphicsPath
path = CreateModernFramePath(bounds);
502
using
GraphicsPath
path = CreateModernFramePath(bounds);
519
private
GraphicsPath
CreateModernFramePath(Rectangle bounds)
521
GraphicsPath
path = new();
System\Windows\Forms\Controls\TextBox\TextBoxBase.cs (5)
2757
internal static
GraphicsPath
CreateVisualStylesBottomEdgePath(
2768
GraphicsPath
path = new();
2893
using
GraphicsPath
roundedBodyPath = new();
2921
using
GraphicsPath
bottomEdgePath = CreateVisualStylesBottomEdgePath(
2963
using
GraphicsPath
focusEdgePath = CreateVisualStylesBottomEdgePath(
System\Windows\Forms\Controls\UpDown\UpDownBase.cs (2)
1141
using
GraphicsPath
bodyPath = new();
1171
using
GraphicsPath
focusEdgePath = TextBoxBase.CreateVisualStylesBottomEdgePath(
System\Windows\Forms\ParentBackgroundRenderer.cs (1)
85
using
GraphicsPath
outline = new();
System\Windows\Forms\Rendering\Animation\AnimatedFocusIndicatorRenderer.cs (1)
114
using
GraphicsPath
focusPath = new();
System\Windows\Forms\Rendering\Button\PopupButtonKeyCapRenderer.cs (9)
168
using (
GraphicsPath
outerPath = CreateRoundedPath(outer, metrics.CornerRadius + 1f))
174
using
GraphicsPath
innerPath = CreateRoundedPath(inner, metrics.CornerRadius);
182
using
GraphicsPath
bodyPath = CreateRoundedPath(metrics.KeyRect, metrics.CornerRadius);
201
using
GraphicsPath
bowlPath = CreateRoundedPath(bowl, metrics.BowlRadius);
281
using
GraphicsPath
borderPath = CreateRoundedPath(
302
using
GraphicsPath
focusPath = CreateRoundedPath(
423
using
GraphicsPath
clipPath = CreateRoundedPath(
610
private static
GraphicsPath
CreateRoundedPath(Rectangle rect, float radius)
612
GraphicsPath
path = new();
System\Windows\Forms\Rendering\CheckBox\AnimatedCheckGlyphRenderer.cs (3)
135
using
GraphicsPath
path = CreateBoxPath(bounds, flatStyle);
244
private static
GraphicsPath
CreateBoxPath(Rectangle bounds, FlatStyle flatStyle)
246
GraphicsPath
path = new();
System\Windows\Forms\Rendering\CheckBox\AnimatedToggleSwitchRenderer.cs (1)
321
using
GraphicsPath
path = new();