summaryrefslogtreecommitdiff
path: root/transform.h
diff options
context:
space:
mode:
authorDylan Simon <dylan@dylex.net>2009-09-27 14:44:35 -0400
committerJames Cloos <cloos@jhcloos.com>2009-09-27 14:44:35 -0400
commit5e825a140f4022b88dd7a1a20a9a01b653f1a95c (patch)
tree36a25fc8b364053ea0c126013eabaa7cb69075b8 /transform.h
parentdbb8401026c421d64a2962e6ac6eb900f6dc141e (diff)
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 <dylan@dylex.net> Signed-off-by: James Cloos <cloos@jhcloos.com>
Diffstat (limited to 'transform.h')
-rw-r--r--transform.h5
1 files changed, 1 insertions, 4 deletions
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);