From 87e1ae59ec19eeeee70978c922c43e1b219699d5 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Sat, 7 Aug 2004 00:40:40 +0000 Subject: Update to version 0.9 of Xrender (includes XRenderAddTraps) --- include/X11/extensions/Xrender.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'include/X11/extensions') 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_ */ -- cgit v1.2.3