cab CUPS Treiber
---
|
#include <stdio.h>
Go to the source code of this file.
Data Structures | |
struct | imghead_t |
Internal struct to store basic informations for the image header. More... | |
struct | pictogram |
Internal struct to store informations for images. More... | |
Macros | |
#define | DPMM 12 |
Dots per mm. More... | |
Typedefs | |
typedef struct pictogram | pictogram_t |
Internal struct to store informations for images. More... | |
Functions | |
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) |
#define DPMM 12 |
typedef struct pictogram pictogram_t |
Internal struct to store informations for images.
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().