aboutsummaryrefslogtreecommitdiff
path: root/generic/Image.h
diff options
context:
space:
mode:
Diffstat (limited to 'generic/Image.h')
-rw-r--r--generic/Image.h32
1 files changed, 16 insertions, 16 deletions
diff --git a/generic/Image.h b/generic/Image.h
index 1ca8c06..a0d03bb 100644
--- a/generic/Image.h
+++ b/generic/Image.h
@@ -1,8 +1,8 @@
/*
* Image.h -- Image support routines.
*
- * Authors : Patrick LECOANET
- * Creation date : Wed Dec 8 11:04:44 1999
+ * Authors : Patrick LECOANET
+ * Creation date : Wed Dec 8 11:04:44 1999
*
* $Id$
*/
@@ -35,14 +35,14 @@
struct _ZnWInfo;
-typedef void *ZnImage;
+typedef void *ZnImage;
#define ZnGetBitmapPixel(bits, stride, x, y)\
(((bits)[(y)*(stride)+((x)>>3)]<<((x)&7))&0x80)
ZnImage
ZnGetImage(struct _ZnWInfo *wi, Tk_Uid image_name,
- void (*inv_proc)(void *cd), void *cd);
+ void (*inv_proc)(void *cd), void *cd);
ZnImage
ZnGetImageByValue(ZnImage image, void (*inv_proc)(void *cd), void *cd);
void
@@ -64,20 +64,20 @@ GLuint
ZnImageTex(ZnImage image, ZnReal *t, ZnReal *s);
typedef struct _ZnTexGlyphVertexInfo {
- GLfloat t0x;
- GLfloat t0y;
- GLshort v0x;
- GLshort v0y;
- GLfloat t1x;
- GLfloat t1y;
- GLshort v1x;
- GLshort v1y;
- GLfloat advance;
- int code;
+ GLfloat t0x;
+ GLfloat t0y;
+ GLshort v0x;
+ GLshort v0y;
+ GLfloat t1x;
+ GLfloat t1y;
+ GLshort v1x;
+ GLshort v1y;
+ GLfloat advance;
+ int code;
} ZnTexGVI;
-typedef void *ZnTexFontInfo;
+typedef void *ZnTexFontInfo;
ZnTexFontInfo ZnGetTexFont(struct _ZnWInfo *wi, Tk_Font font);
void ZnFreeTexFont(ZnTexFontInfo tfi);
@@ -87,4 +87,4 @@ GLuint ZnTexFontTex(ZnTexFontInfo tfi);
void ZnGetDeferredGLGlyphs(void);
#endif
-#endif /* _Image_h */
+#endif /* _Image_h */