summaryrefslogtreecommitdiff
path: root/progs/xdemos/xuserotfont.h
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2004-01-24 16:50:35 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2004-01-24 16:50:35 +0000
commitb4b35bcc42f230fcf56af228b127d4943d4a2c1b (patch)
treee5daffd351fbb79e2fc5c477a6c10b1f6d274c63 /progs/xdemos/xuserotfont.h
parenteaaf618bb8d085ea696bd1b610ce6e896d2cc50d (diff)
New glXUseRotatedXFontMESA() function. Like glXUseXFont(), but takes
a rotation parameter (either 0, 90, 180 or 270 degrees). Also, a demo program.
Diffstat (limited to 'progs/xdemos/xuserotfont.h')
-rw-r--r--progs/xdemos/xuserotfont.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/progs/xdemos/xuserotfont.h b/progs/xdemos/xuserotfont.h
new file mode 100644
index 00000000000..ea49203b7b9
--- /dev/null
+++ b/progs/xdemos/xuserotfont.h
@@ -0,0 +1,12 @@
+#ifndef XUSEROTFONT_H
+#define XUSEROTFONT_H
+
+#include <X11/Xlib.h>
+
+
+extern void
+glXUseRotatedXFontMESA(Font font, int first, int count, int listbase,
+ int rotation);
+
+
+#endif