9 references to DrawPie
System.Drawing.Common.Tests (5)
System\Drawing\GraphicsTests.cs (5)
2229AssertExtensions.Throws<ArgumentNullException>("pen", () => graphics.DrawPie(null, new Rectangle(0, 0, 1, 1), 0, 90)); 2243AssertExtensions.Throws<ArgumentException>(null, () => graphics.DrawPie(pen, new Rectangle(0, 0, 1, 1), 0, 90)); 2255AssertExtensions.Throws<ArgumentException>(null, () => graphics.DrawPie(pen, new Rectangle(0, 0, 0, 1), 0, 90)); 2282Assert.Throws<InvalidOperationException>(() => graphics.DrawPie(pen, new Rectangle(0, 0, 1, 1), 0, 90)); 2301AssertExtensions.Throws<ArgumentException>(null, () => graphics.DrawPie(pen, new Rectangle(0, 0, 1, 1), 0, 90));
System.Windows.Forms (4)
System\Windows\Forms\Controls\Buttons\ButtonInternal\RadioButtonBaseAdapter.cs (4)
49g.DrawPie(dark, bounds, 135 + 1, 90 - 2); 50g.DrawPie(dark, bounds, 225 + 1, 90 - 2); 51g.DrawPie(lightLight, bounds, 315 + 1, 90 - 2); 52g.DrawPie(lightLight, bounds, 45 + 1, 90 - 2);