search for: cairo_surface_write_to_png_stream

Displaying 1 result from an estimated 1 matches for "cairo_surface_write_to_png_stream".

2010 Aug 21
1
R-devel Digest, Vol 90, Issue 20
...ight look into the X11 graphics driver, where >> > Cairo is used to write pngs. In particular, the in_do_saveplot function >> > (src/main/modules/X11/devX11.c) calls cairo_surface_write_to_png, in >> > order to save a png to file. Cairo also provides the >> > cairo_surface_write_to_png_stream function, which might be used to send >> > png data to a memory buffer (i.e. a raw vector). I don't think it would >> > be too difficult to modify in_do_saveplot to accommodate this. >> > > That is all nice, it will require you to hack R (well, there is the Cairo...