Go to the source code of this file.
Defines | |
| #define | COMMENT_EXT_FUNC_CODE 'C' |
| #define | GIF_STAMP87 "GIF87a" |
| #define | GIF_STAMP89 "GIF89a" |
| #define | ZL_MAX_CODE 4095 |
| #define | FILE_STATE_WRITE 0x01 |
| #define | FILE_STATE_SCREEN 0x02 |
| #define | FILE_STATE_IMAGE 0x04 |
| #define | FLUSH_OUTPUT 4096 |
| #define | FIRST_CODE 4097 |
| #define | IS_WRITEABLE(Private) (Private -> FileState & FILE_STATE_WRITE) |
Functions | |
| GifFileType * | EGifOpenFileName (char *FileName, long TestExistance, long version) |
| GifFileType * | EGifOpenFileHandle (char *filename, long version) |
| long | EGifPutScreenDesc (GifFileType *GifFile, long Width, long Height, long ColorRes, long BackGround, long BitsPerPixel, GifColorType *ColorMap) |
| long | EGifPutImageDesc (GifFileType *GifFile, long Left, long Top, long Width, long Height, long Interlace, long BitsPerPixel, GifColorType *ColorMap) |
| long | EGifPutControlDesc (GifFileType *GifFile, long transp, ByteType transpid, long delay, long dummy) |
| long | EGifPutBrowserControlDesc (GifFileType *GifFile, long repeat) |
| long | EGifPutLine (GifFileType *GifFile, PixelType *Line, long LineLen) |
| long | EGifPutCode (GifFileType *GifFile, long CodeSize, ByteType *CodeBlock) |
| long | EGifPutCodeNext (GifFileType *GifFile, ByteType *CodeBlock) |
| long | EGifCloseFile (GifFileType *GifFile) |
Variables | |
| long | _GifError |
| #define GIF_STAMP87 "GIF87a" |
| #define GIF_STAMP89 "GIF89a" |
| #define FILE_STATE_WRITE 0x01 |
| #define FILE_STATE_SCREEN 0x02 |
| #define FILE_STATE_IMAGE 0x04 |
| #define IS_WRITEABLE | ( | Private | ) | (Private -> FileState & FILE_STATE_WRITE) |
Definition at line 28 of file EGIFLIB.C.
Referenced by EGifCloseFile(), EGifPutBrowserControlDesc(), EGifPutCode(), EGifPutControlDesc(), EGifPutImageDesc(), EGifPutLine(), and EGifPutScreenDesc().
| GifFileType* EGifOpenFileName | ( | char * | FileName, | |
| long | TestExistance, | |||
| long | version | |||
| ) |
Definition at line 80 of file EGIFLIB.C.
References EGifOpenFileHandle().
Referenced by _BuildGif().
| GifFileType* EGifOpenFileHandle | ( | char * | filename, | |
| long | version | |||
| ) |
Definition at line 90 of file EGIFLIB.C.
References _GifError, _InitHashTable(), E_GIF_ERR_NotEnoughMem, E_GIF_ERR_WriteFailed, ERROR, FILE_STATE_WRITE, GIF_STAMP87, GIF_STAMP89, GifFile, VoidPtr, X__Free, and X__Malloc.
Referenced by EGifOpenFileName().
| long EGifPutScreenDesc | ( | GifFileType * | GifFile, | |
| long | Width, | |||
| long | Height, | |||
| long | ColorRes, | |||
| long | BackGround, | |||
| long | BitsPerPixel, | |||
| GifColorType * | ColorMap | |||
| ) |
Definition at line 140 of file EGIFLIB.C.
References _GifError, GifColorType::Blue, E_GIF_ERR_HasScrnDscr, E_GIF_ERR_NotWriteable, E_GIF_ERR_WriteFailed, ERROR, FILE_STATE_SCREEN, GifColorType::Green, IS_WRITEABLE, OK, GifColorType::Red, and X__Malloc.
Referenced by _BuildGif().
| long EGifPutImageDesc | ( | GifFileType * | GifFile, | |
| long | Left, | |||
| long | Top, | |||
| long | Width, | |||
| long | Height, | |||
| long | Interlace, | |||
| long | BitsPerPixel, | |||
| GifColorType * | ColorMap | |||
| ) |
Definition at line 207 of file EGIFLIB.C.
References _GifError, GifColorType::Blue, E_GIF_ERR_HasImagDscr, E_GIF_ERR_NoColorMap, E_GIF_ERR_NotWriteable, E_GIF_ERR_WriteFailed, ERROR, FILE_STATE_IMAGE, GifColorType::Green, IS_WRITEABLE, OK, GifColorType::Red, X__Free, and X__Malloc.
Referenced by _BuildGif().
| long EGifPutControlDesc | ( | GifFileType * | GifFile, | |
| long | transp, | |||
| ByteType | transpid, | |||
| long | delay, | |||
| long | dummy | |||
| ) |
Definition at line 281 of file EGIFLIB.C.
References _GifError, E_GIF_ERR_NotWriteable, ERROR, IS_WRITEABLE, and OK.
Referenced by _BuildGif().
| long EGifPutBrowserControlDesc | ( | GifFileType * | GifFile, | |
| long | repeat | |||
| ) |
Definition at line 307 of file EGIFLIB.C.
References _GifError, E_GIF_ERR_NotWriteable, ERROR, IS_WRITEABLE, and OK.
Referenced by _BuildGif().
| long EGifPutLine | ( | GifFileType * | GifFile, | |
| PixelType * | Line, | |||
| long | LineLen | |||
| ) |
Definition at line 337 of file EGIFLIB.C.
References _GifError, E_GIF_ERR_DataTooBig, E_GIF_ERR_NotWriteable, ERROR, and IS_WRITEABLE.
Referenced by _BuildGif().
| long EGifPutCode | ( | GifFileType * | GifFile, | |
| long | CodeSize, | |||
| ByteType * | CodeBlock | |||
| ) |
Definition at line 364 of file EGIFLIB.C.
References _GifError, E_GIF_ERR_NotWriteable, EGifPutCodeNext(), ERROR, and IS_WRITEABLE.
| long EGifPutCodeNext | ( | GifFileType * | GifFile, | |
| ByteType * | CodeBlock | |||
| ) |
Definition at line 387 of file EGIFLIB.C.
References _GifError, E_GIF_ERR_WriteFailed, ERROR, and OK.
Referenced by EGifPutCode().
| long EGifCloseFile | ( | GifFileType * | GifFile | ) |
Definition at line 412 of file EGIFLIB.C.
References _GifError, E_GIF_ERR_CloseFailed, E_GIF_ERR_NotWriteable, ERROR, IS_WRITEABLE, OK, and X__Free.
Referenced by _BuildGif().
| long _GifError |
Definition at line 55 of file EGIFLIB.C.
Referenced by EGifCloseFile(), EGifOpenFileHandle(), EGifPutBrowserControlDesc(), EGifPutCode(), EGifPutCodeNext(), EGifPutControlDesc(), EGifPutImageDesc(), EGifPutLine(), and EGifPutScreenDesc().
1.5.6