diff options
author | Dylan Simon <dylan@dylex.net> | 2009-09-27 14:44:35 -0400 |
---|---|---|
committer | James Cloos <cloos@jhcloos.com> | 2009-09-27 14:44:35 -0400 |
commit | 5e825a140f4022b88dd7a1a20a9a01b653f1a95c (patch) | |
tree | 36a25fc8b364053ea0c126013eabaa7cb69075b8 /transform.h | |
parent | dbb8401026c421d64a2962e6ac6eb900f6dc141e (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.h | 5 |
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); |