Displaying 1 result from an estimated 1 matches for "imgbuf".
Did you mean:
imgbu
2007 Dec 19
1
some questions about swfdec
...nt contents:
for (walk = priv->roots; walk; walk = walk->next) {
swfdec_movie_render (walk->data, cr, &trans, &real);
}
SWFDEC_INFO ("=== %p: END RENDER ===", player);
cairo_restore (cr);
// new stuff
cairo_surface_t surf=cairo_get_target(cr);
memcpy(imgbuf,cairo_image_surface_get_data(surf),bufsize);
Presumably one could also hide the cairo window, so that the content could
be displayed by an external app.
is there a better way of doing it ?
Regards,
salsaman,
http://lives.sf.net