diff options
Diffstat (limited to 'converter/ppm/picttoppm.c')
-rw-r--r-- | converter/ppm/picttoppm.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/converter/ppm/picttoppm.c b/converter/ppm/picttoppm.c index ec701cfc..8ca553bd 100644 --- a/converter/ppm/picttoppm.c +++ b/converter/ppm/picttoppm.c @@ -339,6 +339,7 @@ allocateRaster(struct Raster * const rasterP, } + static void freeRaster(struct Raster const raster) { @@ -346,6 +347,7 @@ freeRaster(struct Raster const raster) { } + struct BlitInfo { struct Rect srcRect; struct Rect srcBounds; @@ -763,6 +765,7 @@ skipPolyOrRegion(FILE * const ifP, } + #define NA (0) #define FNT_BOLD (1) @@ -969,6 +972,7 @@ rectequal(const struct Rect * const comparand, } + static int rectheight(const struct Rect * const r) { @@ -2719,6 +2723,7 @@ interpretCompressedLine(unsigned char * const linebuf, } + /* There is some confusion about when, in PICT, a line length is one byte and when it is two. An Apple document says it is two bytes when the number of pixels in the row, padded, is > 250. Ppmtopict generated PICTs that way @@ -3194,6 +3199,8 @@ drawPen(struct Canvas * const canvasP, drawPenRect(canvasP, &clippedPenrect); } + + /* * Digital Line Drawing * by Paul Heckbert |