예제 #1
0
        public void AddArc(int x, int y, int width, int height, float start_angle, float sweep_angle)
        {
            Status status = GDIPlus.GdipAddPathArcI(nativePath, x, y, width, height, start_angle, sweep_angle);

            GDIPlus.CheckStatus(status);
        }
예제 #2
0
        //
        // AddArc
        //
        public void AddArc(Rectangle rect, float start_angle, float sweep_angle)
        {
            Status status = GDIPlus.GdipAddPathArcI(nativePath, rect.X, rect.Y, rect.Width, rect.Height, start_angle, sweep_angle);

            GDIPlus.CheckStatus(status);
        }