diff options
-rw-r--r-- | transform.c | 22 | ||||
-rw-r--r-- | transform.h | 3 |
2 files changed, 0 insertions, 25 deletions
diff --git a/transform.c b/transform.c index 36a2f3e..557cbb8 100644 --- a/transform.c +++ b/transform.c @@ -72,28 +72,6 @@ TFillPolygon (register Display *dpy, Drawable d, GC gc, Transform *t, } void -TDrawArc (register Display *dpy, Drawable d, GC gc, Transform *t, - double x, double y, double width, double height, - int angle1, int angle2) -{ - int xx, xy, xw, xh; - - xx = Xx(x,y,t); - xy = Xy(x,y,t); - xw = Xwidth (width, height, t); - xh = Xheight (width, height, t); - if (xw < 0) { - xx += xw; - xw = -xw; - } - if (xh < 0) { - xy += xh; - xh = -xh; - } - XDrawArc (dpy, d, gc, xx, xy, xw, xh, angle1, angle2); -} - -void TFillArc (register Display *dpy, Drawable d, GC gc, Transform *t, double x, double y, double width, double height, int angle1, int angle2) diff --git a/transform.h b/transform.h index 58238c4..ad17ca7 100644 --- a/transform.h +++ b/transform.h @@ -56,9 +56,6 @@ typedef struct _TRectangle { extern void TFillPolygon ( Display *dpy, Drawable d, GC gc, Transform *t, TPoint *points, int n_points, int shape, int mode ); -extern void TDrawArc ( Display *dpy, Drawable d, GC gc, Transform *t, - double x, double y, double width, double height, - int angle1, int angle2 ); extern void TFillArc ( Display *dpy, Drawable d, GC gc, Transform *t, double x, double y, double width, double height, int angle1, int angle2 ); |