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;
Renderer * createRenderHandler()
Definition: Qt4GlueCairo.cpp:141
void render()
Definition: Qt4GlueCairo.cpp:109
~Qt4CairoGlue()
Definition: Qt4GlueCairo.cpp:45
Definition: klash_part.cpp:329
void prepDrawingArea(DrawingWidget *drawing_area)
Definition: Qt4GlueCairo.cpp:101
Base class for render handlers.
Definition: Renderer.h:190
Qt4CairoGlue()
Definition: Qt4GlueCairo.cpp:34
Definition: klash_part.cpp:329
Definition: Qt4GlueCairo.h:42
void resize(int width, int height)
Definition: Qt4GlueCairo.cpp:133
void initBuffer(int width, int height)
Definition: Qt4GlueCairo.cpp:58
bool init(int argc, char **argv[])
Definition: Qt4GlueCairo.cpp:52