1 //========================================================================
5 //========================================================================
12 #ifdef USE_GCC_PRAGMAS
16 #include "SplashTypes.h"
18 //------------------------------------------------------------------------
20 //------------------------------------------------------------------------
25 // Create a new bitmap.
26 SplashBitmap(int widthA, int heightA, SplashColorMode modeA);
30 int getWidth() { return width; }
31 int getHeight() { return height; }
32 int getRowSize() { return rowSize; }
33 SplashColorMode getMode() { return mode; }
34 SplashColorPtr getDataPtr() { return data; }
36 SplashError writePNMFile(char *fileName);
40 int width, height; // size of bitmap
41 int rowSize; // size of one row of data, in bytes
42 SplashColorMode mode; // color mode