From 5e825a140f4022b88dd7a1a20a9a01b653f1a95c Mon Sep 17 00:00:00 2001 From: Dylan Simon Date: Sun, 27 Sep 2009 14:44:35 -0400 Subject: Add xrender support Optionally draw all components (except shape) with xrender. Enabled by default. Xlib rendering can be restored by "configure --without-xrender" or "xeyes +render". Signed-off-by: Dylan Simon Signed-off-by: James Cloos --- transform.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'transform.h') diff --git a/transform.h b/transform.h index 5bd5182..7567fcc 100644 --- a/transform.h +++ b/transform.h @@ -26,10 +26,7 @@ typedef struct _TRectangle { # define Twidth(w,h,t) (((double) (w)) / (t)->mx) # define Theight(w,h,t) (((double) (h)) / (t)->my) -extern void TFillArc (Display *dpy, Drawable d, GC gc, - Transform *t, - double x, double y, double width, double height, - int angle1, int angle2); +extern void Trectangle (const Transform *t, const TRectangle *in, TRectangle *out); extern void SetTransform (Transform *t, int xx1, int xx2, int xy1, int xy2, double tx1, double tx2, double ty1, double ty2); -- cgit v1.2.3