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