Go to the documentation of this file.
35 bool init(
int argc,
char ***argv);
41 void render(
int minx,
int miny,
int maxx,
int maxy);
42 void configure(GtkWidget *
const widget, GdkEventConfigure *
const event);
44 cairo_surface_t* createGdkImageSurface(
const int&
width,
const int&
height);
45 cairo_surface_t* createSimilarSurface(
const int&
width,
const int&
height);
46 cairo_surface_t* createMemorySurface(
const int&
width,
const int&
height);
48 cairo_t* _cairo_handle;
49 cairo_t* _cairo_offscreen;
void render()
Definition: gtk_glue_cairo.cpp:111
bool needsDrawingArea()
Definition: gtk_glue_cairo.h:36
@ height
Definition: klash_part.cpp:329
~GtkCairoGlue()
Definition: gtk_glue_cairo.cpp:40
DSOEXPORT void set_context(Renderer *handler, cairo_t *context)
Make sure to call this before starting display.
Definition: Renderer_cairo.cpp:1143
std::int32_t y
Definition: BitmapData_as.cpp:435
void beforeRendering()
Definition: gtk_glue_cairo.cpp:71
#define _(String)
Definition: log.h:44
Anonymous namespace for callbacks, local functions, event handlers etc.
Definition: dbus_ext.cpp:41
#define GNASH_REPORT_FUNCTION
Definition: log.h:452
Base class for render handlers.
Definition: Renderer.h:189
Definition: gtk_glue_cairo.h:30
void log_error(StringType msg, Args... args)
Definition: log.h:283
GtkCairoGlue()
Definition: gtk_glue_cairo.cpp:31
Definition: gtk_glue.h:41
DSOEXPORT Renderer * create_handler()
Create a render handler.
Definition: Renderer_cairo.cpp:1136
bool cairoFormatFromVisual(const GdkVisual *visual, cairo_format_t *format)
Definition: gtk_glue_cairo.cpp:122
GtkWidget * _drawing_area
Definition: gtk_glue.h:77
Renderer * createRenderHandler()
Definition: gtk_glue_cairo.cpp:63
void prepDrawingArea(GtkWidget *drawing_area)
Definition: gtk_glue_cairo.cpp:54
bool init(int argc, char ***argv)
Definition: gtk_glue_cairo.cpp:48
void configure(GtkWidget *const widget, GdkEventConfigure *const event)
Definition: gtk_glue_cairo.cpp:198
@ width
Definition: klash_part.cpp:329
std::int32_t x
Definition: BitmapData_as.cpp:434