Go to the source code of this file.
Data Structures |
struct | RGB |
Defines |
#define | UWORD unsigned short |
#define | ULONG unsigned long |
#define | UBYTE unsigned char |
#define | XIMG_MAGIC 0x58494D47 |
Enumerations |
enum | FILE_TYP { IMG,
XIMG
} |
Functions |
const char * | get_file_ext (FILE_TYP typ) |
int | bitmap_to_file (FILE_TYP typ, int ww, int wh, unsigned int pwx, unsigned int pwy, unsigned int planes, unsigned int colors, const char *filename, void(*get_color)(unsigned int colind, struct RGB *rgb), void(*get_pixel)(int x, int y, unsigned int *colind)) |
Define Documentation
#define UBYTE unsigned char |
#define ULONG unsigned long |
#define UWORD unsigned short |
#define XIMG_MAGIC 0x58494D47 |
Enumeration Type Documentation
Function Documentation
int bitmap_to_file |
( |
FILE_TYP |
typ, |
|
|
int |
ww, |
|
|
int |
wh, |
|
|
unsigned int |
pwx, |
|
|
unsigned int |
pwy, |
|
|
unsigned int |
planes, |
|
|
unsigned int |
colors, |
|
|
const char * |
filename, |
|
|
void(*)(unsigned int colind, struct RGB *rgb) |
get_color, |
|
|
void(*)(int x, int y, unsigned int *colind) |
get_pixel |
|
) |
| |
const char* get_file_ext |
( |
FILE_TYP |
typ ) |
|