Example #1
0
        //
        // AddPie
        //
        public void AddPie(Rectangle rect, float startAngle, float sweepAngle)
        {
            int status = Gdip.GdipAddPathPie(
                _nativePath, rect.X, rect.Y, rect.Width, rect.Height, startAngle, sweepAngle);

            Gdip.CheckStatus(status);
        }
Example #2
0
 public void AddPie(float x, float y, float width, float height, float startAngle, float sweepAngle)
 {
     Gdip.CheckStatus(Gdip.GdipAddPathPie(
                          new HandleRef(this, _nativePath),
                          x, y, width, height,
                          startAngle,
                          sweepAngle));
 }
Example #3
0
        public void AddPie(float x, float y, float width, float height, float startAngle, float sweepAngle)
        {
            int status = Gdip.GdipAddPathPie(_nativePath, x, y, width, height, startAngle, sweepAngle);

            Gdip.CheckStatus(status);
        }