diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2013-12-10 22:09:24 -0800 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2013-12-10 22:30:29 -0800 |
commit | 4e3d140c4859124ae4cd87789d009c4a973d62c3 (patch) | |
tree | dcf1fe027a1935786e4a28039c62152723805a18 /transform.c | |
parent | 0563142cc89b04d1bca3208751b186df9649dbda (diff) |
Remove unused function TDrawArc
Suggested by cppcheck
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'transform.c')
-rw-r--r-- | transform.c | 22 |
1 files changed, 0 insertions, 22 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) |