Mercurial > hg > xemacs-beta
comparison src/gif_lib.h @ 203:850242ba4a81 r20-3b28
Import from CVS: tag r20-3b28
author | cvs |
---|---|
date | Mon, 13 Aug 2007 10:02:21 +0200 |
parents | 376386a54a3c |
children |
comparison
equal
deleted
inserted
replaced
202:61eefc8fc970 | 203:850242ba4a81 |
---|---|
131 /****************************************************************************** | 131 /****************************************************************************** |
132 * O.K., here are the routines one can access in order to decode GIF file: * | 132 * O.K., here are the routines one can access in order to decode GIF file: * |
133 * (GIF_LIB file DGIF_LIB.C). * | 133 * (GIF_LIB file DGIF_LIB.C). * |
134 ******************************************************************************/ | 134 ******************************************************************************/ |
135 | 135 |
136 GifFileType *DGifOpenFileName(const char *GifFileName); | 136 GifFileType *DGifOpenFileName(CONST char *GifFileName); |
137 GifFileType *DGifOpenFileHandle(int GifFileHandle); | 137 GifFileType *DGifOpenFileHandle(int GifFileHandle); |
138 int DGifSlurp(GifFileType *GifFile); | 138 int DGifSlurp(GifFileType *GifFile); |
139 int DGifGetScreenDesc(GifFileType *GifFile); | 139 int DGifGetScreenDesc(GifFileType *GifFile); |
140 int DGifGetRecordType(GifFileType *GifFile, GifRecordType *GifType); | 140 int DGifGetRecordType(GifFileType *GifFile, GifRecordType *GifType); |
141 int DGifGetImageDesc(GifFileType *GifFile); | 141 int DGifGetImageDesc(GifFileType *GifFile); |
258 #define GIF_FONT_WIDTH 8 | 258 #define GIF_FONT_WIDTH 8 |
259 #define GIF_FONT_HEIGHT 8 | 259 #define GIF_FONT_HEIGHT 8 |
260 extern unsigned char AsciiTable[][GIF_FONT_WIDTH]; | 260 extern unsigned char AsciiTable[][GIF_FONT_WIDTH]; |
261 | 261 |
262 extern void DrawText(SavedImage *Image, | 262 extern void DrawText(SavedImage *Image, |
263 const int x, const int y, | 263 CONST int x, CONST int y, |
264 const char *legend, | 264 CONST char *legend, |
265 const int color); | 265 CONST int color); |
266 | 266 |
267 extern void DrawBox(SavedImage *Image, | 267 extern void DrawBox(SavedImage *Image, |
268 const int x, const int y, | 268 CONST int x, CONST int y, |
269 const int w, const int d, | 269 CONST int w, CONST int d, |
270 const int color); | 270 CONST int color); |
271 | 271 |
272 void DrawRectangle(SavedImage *Image, | 272 void DrawRectangle(SavedImage *Image, |
273 const int x, const int y, | 273 CONST int x, CONST int y, |
274 const int w, const int d, | 274 CONST int w, CONST int d, |
275 const int color); | 275 CONST int color); |
276 | 276 |
277 extern void DrawBoxedText(SavedImage *Image, | 277 extern void DrawBoxedText(SavedImage *Image, |
278 const int x, const int y, | 278 CONST int x, CONST int y, |
279 const char *legend, | 279 CONST char *legend, |
280 const int border, | 280 CONST int border, |
281 const int bg, | 281 CONST int bg, |
282 const int fg); | 282 CONST int fg); |
283 | 283 |
284 #endif /* GIF_LIB_H */ | 284 #endif /* GIF_LIB_H */ |