cab CUPS Treiber
---
|
Go to the source code of this file.
Functions | |
static void | write_word (unsigned char *dest, unsigned short value) |
Writes a number as a char ... More... | |
void | write_img_header (FILE *oFile, unsigned int xdim, unsigned int ydim) |
Creates and writes the image header. More... | |
void | write_img (pictogram_t *pp, FILE *fp) |
void write_img | ( | pictogram_t * | pp, |
FILE * | fp | ||
) |
Definition at line 94 of file image.c.
References pictogram::breite, pictogram::hoehe, and pictogram::inh.
Referenced by print_raster_image().
void write_img_header | ( | FILE * | oFile, |
unsigned int | xdim, | ||
unsigned int | ydim | ||
) |
Creates and writes the image header.
oFile | File to write the image data |
xdim | Image width |
ydim | Image height |
Definition at line 60 of file image.c.
References DPMM, imghead_t::height, imghead_t::length, imghead_t::lines, imghead_t::pattlen, imghead_t::pixels, imghead_t::planes, imghead_t::version, imghead_t::width, and write_word().
Referenced by print_raster_image().
|
static |
Writes a number as a char ...
*value | Number to be written ... |
*dest | Destination |
Definition at line 38 of file image.c.
Referenced by write_img_header().