Exemplo n.º 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);
        }
Exemplo n.º 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);
        }