summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2004-08-07 00:40:40 +0000
committerKeith Packard <keithp@keithp.com>2004-08-07 00:40:40 +0000
commit87e1ae59ec19eeeee70978c922c43e1b219699d5 (patch)
tree68f2e6a56720ff0b13ef5100e50fba4973e00e59 /include
parenta8302c03f1810fe30aea90f3d42a77663e5cd8a0 (diff)
Diffstat (limited to 'include')
-rw-r--r--include/X11/extensions/Xrender.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/include/X11/extensions/Xrender.h b/include/X11/extensions/Xrender.h
index 6af21b1..d2cf6e5 100644
--- a/include/X11/extensions/Xrender.h
+++ b/include/X11/extensions/Xrender.h
@@ -169,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);
@@ -464,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_ */