Index: trunk/src/libcschem/TODO.h =================================================================== --- trunk/src/libcschem/TODO.h (revision 340) +++ trunk/src/libcschem/TODO.h (revision 341) @@ -3,5 +3,6 @@ typedef int htul_t; typedef int htsl_t; +typedef unsigned int csch_uint32_t; #endif Index: trunk/src/libcschem/compile.c =================================================================== --- trunk/src/libcschem/compile.c (revision 340) +++ trunk/src/libcschem/compile.c (revision 341) @@ -1,2 +1,6 @@ #include "abstract.h" #include "concrete.h" +#include "concrete_line.h" +#include "concrete_arc.h" +#include "concrete_poly.h" +#include "concrete_bitmap.h" Index: trunk/src/libcschem/concrete.h =================================================================== --- trunk/src/libcschem/concrete.h (revision 340) +++ trunk/src/libcschem/concrete.h (revision 341) @@ -16,7 +16,8 @@ CSCH_CTYPE_INVALID = 0, CSCH_CTYPE_LINE, CSCH_CTYPE_ARC, - CSCH_CTYPE_POLY + CSCH_CTYPE_POLY, + CSCH_CTYPE_BITMAP } csch_ctype_t; Index: trunk/src/libcschem/concrete_bitmap.h =================================================================== --- trunk/src/libcschem/concrete_bitmap.h (nonexistent) +++ trunk/src/libcschem/concrete_bitmap.h (revision 341) @@ -0,0 +1,18 @@ +#ifndef CSCH_CONCRETE_BITMAP_H +#define CSCH_CONCRETE_BITMAP_H +#include "libcschem/concrete.h" + +/* type=CSCH_CTYPE_BITMAP */ + +#include "TODO.h" +typedef csch_uint32_t csch_pixel_t; + +typedef struct csch_cbitmap_s { + csch_chdr_t hdr; + csch_coord_t x1, y1; + csch_pixel_t transp; + int sx, sy; /* size in pixels */ + csch_pixel_t *bitmap; +} csch_cline_t; + +#endif