Function definitions for the DrawImageObject class. More...
#include <iosys.h>#include <malloc.h>#include <string.h>#include "drawimage.h"#include "gifCompress.h"Functions | |
| int | writeall (int fd, const char *c, int siz) |
| This function writes data to the stream associated with a file descriptor (fd). More... | |
| void | FlushData (int fd) |
| void | WriteData (int fd, const char *c, int siz) |
| void | OutputGifChar (const char c, int fd) |
| void | WriteOneChar (const FontData *pf, char c, int xp, int yp, uint8_t color, DrawImageObject &doi) |
Function definitions for the DrawImageObject class.
This class hold the data associated with and draws GIF images with text to a given file descriptor
| void FlushData | ( | int | fd | ) |
FlushData
Flush any unwritten data to the output
| void OutputGifChar | ( | const char | c, |
| int | fd | ||
| ) |
OutputGifChar
Writes a GIF char to the given fd
| void WriteData | ( | int | fd, |
| const char * | c, | ||
| int | siz | ||
| ) |
WriteData
This is the function that writes data to the output socket
| void WriteOneChar | ( | const FontData * | pf, |
| char | c, | ||
| int | xp, | ||
| int | yp, | ||
| uint8_t | color, | ||
| DrawImageObject & | doi | ||
| ) |
WriteOneChar
Writes a single character