19 #ifndef GNASH_KDE4_CAIRO_GLUE_H
20 #define GNASH_KDE4_CAIRO_GLUE_H
31 #include <boost/scoped_array.hpp>
48 bool init(
int argc,
char **argv[]);
53 void render(
const QRect& updateRect);
54 void resize(
int width,
int height);
59 boost::scoped_array<unsigned char> _offscreenbuf;
61 std::auto_ptr<QImage> _image;
62 std::auto_ptr<QPainter> _painter;
64 cairo_t *_cairo_handle;
65 cairo_surface_t *_cairo_surface;