示例#1
0
 public void AddArc(int x, int y, int width, int height, float startAngle, float sweepAngle)
 {
     Gdip.CheckStatus(Gdip.GdipAddPathArcI(
                          new HandleRef(this, _nativePath),
                          x, y, width, height,
                          startAngle,
                          sweepAngle));
 }
示例#2
0
        public void AddArc(int x, int y, int width, int height, float startAngle, float sweepAngle)
        {
            int status = Gdip.GdipAddPathArcI(_nativePath, x, y, width, height, startAngle, sweepAngle);

            Gdip.CheckStatus(status);
        }
示例#3
0
        //
        // AddArc
        //
        public void AddArc(Rectangle rect, float startAngle, float sweepAngle)
        {
            int status = Gdip.GdipAddPathArcI(_nativePath, rect.X, rect.Y, rect.Width, rect.Height, startAngle, sweepAngle);

            Gdip.CheckStatus(status);
        }