/* * Splash Background renderer * Render all those things not supported as Image, with Splash * * by WangLu * 2012.08.06 */ #ifndef SPLASH_BACKGROUND_RENDERER_H__ #define SPLASH_BACKGROUND_RENDERER_H__ #include #include namespace pdf2htmlEX { // Based on BackgroundRenderer from poppler class SplashBackgroundRenderer : public SplashOutputDev { public: static const SplashColor white; SplashBackgroundRenderer() : SplashOutputDev(splashModeRGB8, 4, gFalse, (SplashColorPtr)&white, gTrue, gTrue) { } virtual ~SplashBackgroundRenderer() { } virtual void drawChar(GfxState *state, double x, double y, double dx, double dy, double originX, double originY, CharCode code, int nBytes, Unicode *u, int uLen); }; } // namespace pdf2htmlEX #endif // SPLASH_BACKGROUND_RENDERER_H__