16 references to DrawPath
System.Drawing.Common.Tests (9)
mono\System.Drawing\GraphicsTests.cs (3)
2856Assert.Throws<ArgumentNullException>(() => g.DrawPath(null, path)); 2864Assert.Throws<ArgumentNullException>(() => g.DrawPath(Pens.Black, null)); 2886g.DrawPath(Pens.SteelBlue, path);
System\Drawing\GraphicsTests.cs (6)
2386AssertExtensions.Throws<ArgumentNullException>("pen", () => graphics.DrawPath(null, graphicsPath)); 2398AssertExtensions.Throws<ArgumentException>(null, () => graphics.DrawPath(pen, graphicsPath)); 2407AssertExtensions.Throws<ArgumentNullException>("path", () => graphics.DrawPath(pen, null)); 2419AssertExtensions.Throws<ArgumentException>(null, () => graphics.DrawPath(pen, graphicsPath)); 2432Assert.Throws<InvalidOperationException>(() => graphics.DrawPath(pen, graphicsPath)); 2449AssertExtensions.Throws<ArgumentException>(null, () => graphics.DrawPath(pen, graphicsPath));
System.Windows.Forms (6)
System\Windows\Forms\Controls\Buttons\ButtonInternal\DarkMode\FlatButtonDarkModeRenderer.cs (1)
106g.DrawPath(pen, path);
System\Windows\Forms\Controls\Buttons\ButtonInternal\DarkMode\IButtonRenderer.cs (1)
26graphics.DrawPath(borderPen, path);
System\Windows\Forms\Controls\Buttons\ButtonInternal\DarkMode\PopupButtonDarkModeRenderer.cs (1)
87graphics.DrawPath(focusPen, focusPath);
System\Windows\Forms\Controls\Buttons\ButtonInternal\DarkMode\SystemButtonDarkModeRenderer.cs (3)
69graphics.DrawPath(focusPen, focusPath); 180graphics.DrawPath(topLeftPen, GetTopLeftSegmentPath(borderRect, CornerRadius)); 184graphics.DrawPath(bottomRightPen, GetBottomRightSegmentPath(borderRect, CornerRadius));
WinFormsControlsTest (1)
CustomComCtl32Button.cs (1)
119g.DrawPath(pen, path);