X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=xscreensaver;a=blobdiff_plain;f=hacks%2Fglx%2Ffont-ximage.h;fp=hacks%2Fglx%2Ffont-ximage.h;h=0000000000000000000000000000000000000000;hp=cd9d56e88edc5d14804e8acd747813cf50fee9b3;hb=d5186197bc394e10a4402f7f6d23fbb14103bc50;hpb=6afd6db0ae9396cd7ff897ade597cd5483f49b0e diff --git a/hacks/glx/font-ximage.h b/hacks/glx/font-ximage.h deleted file mode 100644 index cd9d56e8..00000000 --- a/hacks/glx/font-ximage.h +++ /dev/null @@ -1,30 +0,0 @@ -/* font-ximage.c --- renders text to an XImage for use with OpenGL. - * xscreensaver, Copyright (c) 2001 Jamie Zawinski - * - * Permission to use, copy, modify, distribute, and sell this software and its - * documentation for any purpose is hereby granted without fee, provided that - * the above copyright notice appear in all copies and that both that - * copyright notice and this permission notice appear in supporting - * documentation. No representations are made about the suitability of this - * software for any purpose. It is provided "as is" without express or - * implied warranty. - */ - -#ifndef __FONT_XIMAGE_H__ -# define __FONT_XIMAGE_H__ - -/* Returns an XImage structure containing the string rendered in the font. - This XImage will be 32 bits per pixel, 8 each per R, G, and B, with the - extra byte set to 0xFF. - - Foregroune and background are GL-style color specifiers: 4 floats from - 0.0-1.0. - */ -XImage *text_to_ximage (Screen *screen, Visual *visual, - const char *font, - const char *text_lines, - GLfloat *texture_fg, - GLfloat *texture_bg); - - -#endif /* __FONT_XIMAGE_H__ */