7 doellipse(int cmd, Image *dst, Point *c, int xr, int yr, int thick, Image *src, Point *sp, int alpha, int phi, Drawop op)
11 _setdrawop(dst->display, op);
13 a = bufimage(dst->display, 1+4+4+2*4+4+4+4+2*4+2*4);
15 fprint(2, "image ellipse: %r\n");
33 ellipse(Image *dst, Point c, int a, int b, int thick, Image *src, Point sp)
35 doellipse('e', dst, &c, a, b, thick, src, &sp, 0, 0, SoverD);
39 ellipseop(Image *dst, Point c, int a, int b, int thick, Image *src, Point sp, Drawop op)
41 doellipse('e', dst, &c, a, b, thick, src, &sp, 0, 0, op);
45 fillellipse(Image *dst, Point c, int a, int b, Image *src, Point sp)
47 doellipse('E', dst, &c, a, b, 0, src, &sp, 0, 0, SoverD);
51 fillellipseop(Image *dst, Point c, int a, int b, Image *src, Point sp, Drawop op)
53 doellipse('E', dst, &c, a, b, 0, src, &sp, 0, 0, op);
57 arc(Image *dst, Point c, int a, int b, int thick, Image *src, Point sp, int alpha, int phi)
60 doellipse('e', dst, &c, a, b, thick, src, &sp, alpha, phi, SoverD);
64 arcop(Image *dst, Point c, int a, int b, int thick, Image *src, Point sp, int alpha, int phi, Drawop op)
67 doellipse('e', dst, &c, a, b, thick, src, &sp, alpha, phi, op);
71 fillarc(Image *dst, Point c, int a, int b, Image *src, Point sp, int alpha, int phi)
74 doellipse('E', dst, &c, a, b, 0, src, &sp, alpha, phi, SoverD);
78 fillarcop(Image *dst, Point c, int a, int b, Image *src, Point sp, int alpha, int phi, Drawop op)
81 doellipse('E', dst, &c, a, b, 0, src, &sp, alpha, phi, op);