summaryrefslogtreecommitdiff
path: root/include/X11/extensions/Xrender.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/X11/extensions/Xrender.h')
-rw-r--r--include/X11/extensions/Xrender.h18
1 files changed, 17 insertions, 1 deletions
diff --git a/include/X11/extensions/Xrender.h b/include/X11/extensions/Xrender.h
index 654e8c1..d2cf6e5 100644
--- a/include/X11/extensions/Xrender.h
+++ b/include/X11/extensions/Xrender.h
@@ -1,5 +1,4 @@
/*
- * $Id$
*
* Copyright © 2000 SuSE, Inc.
*
@@ -170,6 +169,14 @@ typedef struct _XAnimCursor {
unsigned long delay;
} XAnimCursor;
+typedef struct _XSpanFix {
+ XFixed left, right, y;
+} XSpanFix;
+
+typedef struct _XTrap {
+ XSpanFix top, bottom;
+} XTrap;
+
_XFUNCPROTOBEGIN
Bool XRenderQueryExtension (Display *dpy, int *event_basep, int *error_basep);
@@ -465,6 +472,15 @@ XRenderCreateAnimCursor (Display *dpy,
int ncursor,
XAnimCursor *cursors);
+
+void
+XRenderAddTraps (Display *dpy,
+ Picture picture,
+ int xOff,
+ int yOff,
+ _Xconst XTrap *traps,
+ int ntrap);
+
_XFUNCPROTOEND
#endif /* _XRENDER_H_ */