with#. Fill ellipses with consecutive sectors. If you make an ellipse clipping region. Before the cycle, make 1 sector. Then in the loop using setClip (path, combineMode.Union) add subsequent sectors. Why can not even add one sector to the source?

path2.AddArc(rect, 0, 30); path2.AddLine(0, 0, x / 2, 0); g.DrawPath(pen, path2); GraphicsPath path3 = new GraphicsPath(); GraphicsPath path4 = new GraphicsPath(); path3.AddArc(rect, 30, 60); g.SetClip(path3, CombineMode.Union); path4.AddLine(0, 0, 0, y / 2); g.SetClip(path4, CombineMode.Union); g.FillPath(brush, path4); 
  • What kind of framework? WPF? WinForms? (It seems WinForms, based on g. ). - VladD
  • Windows Forms. Even if not through AddArc, but through AddPie to do, it still does not come out - Yaska

0