コード例 #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);
        }