summaryrefslogtreecommitdiff
path: root/xc/include/extensions/XAnti.h
diff options
context:
space:
mode:
Diffstat (limited to 'xc/include/extensions/XAnti.h')
-rw-r--r--xc/include/extensions/XAnti.h103
1 files changed, 103 insertions, 0 deletions
diff --git a/xc/include/extensions/XAnti.h b/xc/include/extensions/XAnti.h
new file mode 100644
index 000000000..bd7d856af
--- /dev/null
+++ b/xc/include/extensions/XAnti.h
@@ -0,0 +1,103 @@
+/*
+ Copyright (C) 1998 by The XFree86 Project Inc.
+
+*/
+/* $XFree86: xc/include/extensions/XAnti.h,v 1.2 1999/06/06 08:47:48 dawes Exp $ */
+
+
+#ifndef _XANTI_H
+#define _XANTI_H
+
+#include <X11/X.h>
+#include <X11/Xproto.h>
+
+Bool
+XAntiQueryExtension(
+ Display *dpy,
+ unsigned int *p_version,
+ unsigned int *p_revision
+);
+
+int
+XAntiSetInterpolationPixels(
+ Display *dpy,
+ GC gc,
+ unsigned long *pixels
+);
+
+int
+XAntiInterpolateColors(
+ Display *dpy,
+ GC gc,
+ Colormap cmap,
+ XColor *colors
+);
+
+
+int
+XAntiDrawString(
+ Display *dpy,
+ Drawable d,
+ GC gc,
+ int x,
+ int y,
+ _Xconst char *string,
+ int length
+);
+
+int
+XAntiDrawString16(
+ Display *dpy,
+ Drawable d,
+ GC gc,
+ int x,
+ int y,
+ _Xconst XChar2b *string,
+ int length
+);
+
+int
+XAntiDrawText(
+ Display *dpy,
+ Drawable d,
+ GC gc,
+ int x,
+ int y,
+ XTextItem *items,
+ int nitems
+);
+
+int
+XAntiDrawText16(
+ Display *dpy,
+ Drawable d,
+ GC gc,
+ int x,
+ int y,
+ XTextItem16 *items,
+ int nitems
+);
+
+int
+XAntiDrawImageString(
+ Display *dpy,
+ Drawable d,
+ GC gc,
+ int x,
+ int y,
+ _Xconst char *string,
+ int length
+);
+
+int
+XAntiDrawImageString16(
+ Display *dpy,
+ Drawable d,
+ GC gc,
+ int x,
+ int y,
+ _Xconst XChar2b *string,
+ int length
+);
+
+#endif /* _XANTI_H */