NetBurner 3.5.0
PDF Version
 
drawimage.cpp File Reference

Function definitions for the DrawImageObject class. More...

#include <iosys.h>
#include <malloc.h>
#include <string.h>
#include "drawimage.h"
#include "gifCompress.h"

Functions

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)
 

Detailed Description

Function definitions for the DrawImageObject class.

This class hold the data associated with and draws GIF images with text to a given file descriptor

Function Documentation

◆ FlushData()

void FlushData ( int fd)

FlushData

Flush any unwritten data to the output

◆ OutputGifChar()

void OutputGifChar ( const char c,
int fd )

OutputGifChar

Writes a GIF char to the given fd

◆ WriteData()

void WriteData ( int fd,
const char * c,
int siz )

WriteData

This is the function that writes data to the output socket

◆ WriteOneChar()

void WriteOneChar ( const FontData * pf,
char c,
int xp,
int yp,
uint8_t color,
DrawImageObject & doi )

WriteOneChar

Writes a single character