Go to the documentation of this file.
19 #ifndef GNASH_KDE4_CAIRO_GLUE_H
20 #define GNASH_KDE4_CAIRO_GLUE_H
47 bool init(
int argc,
char **argv[]);
52 void render(
const QRect& updateRect);
58 std::unique_ptr<unsigned char[]> _offscreenbuf;
60 std::unique_ptr<QImage> _image;
61 std::unique_ptr<QPainter> _painter;
63 cairo_t *_cairo_handle;
64 cairo_surface_t *_cairo_surface;
void resize(int width, int height)
Definition: Qt4GlueCairo.cpp:132
@ height
Definition: klash_part.cpp:329
DSOEXPORT void set_context(Renderer *handler, cairo_t *context)
Make sure to call this before starting display.
Definition: Renderer_cairo.cpp:1143
DrawingWidget * _drawing_area
Definition: Qt4Glue.h:97
Anonymous namespace for callbacks, local functions, event handlers etc.
Definition: dbus_ext.cpp:41
Base class for render handlers.
Definition: Renderer.h:189
Renderer * createRenderHandler()
Definition: Qt4GlueCairo.cpp:140
void initBuffer(int width, int height)
Definition: Qt4GlueCairo.cpp:57
@ r
Definition: GnashKey.h:164
~Qt4CairoGlue()
Definition: Qt4GlueCairo.cpp:44
Definition: Qt4GlueCairo.h:42
void prepDrawingArea(DrawingWidget *drawing_area)
Definition: Qt4GlueCairo.cpp:100
@ p
Definition: GnashKey.h:162
DSOEXPORT Renderer * create_handler()
Create a render handler.
Definition: Renderer_cairo.cpp:1136
bool init(int argc, char **argv[])
Definition: Qt4GlueCairo.cpp:51
Qt4CairoGlue()
Definition: Qt4GlueCairo.cpp:34
void render()
Definition: Qt4GlueCairo.cpp:108
@ width
Definition: klash_part.cpp:329