[cairo] "data" in cairo_image_surface_get_data ()

Nguyen Vu Hung vuhung16plus at gmail.com
Mon Nov 26 02:24:47 PST 2007


Hi,

Can anyone explain what is the "data" when the function

cairo-image-surface-get-data();
#http://cairographics.org/manual/cairo-Image-Surfaces.html#cairo-image-surface-get-data

is returned?

Is it in the format of cairo-surface-t?
#http://cairographics.org/manual/cairo-cairo-surface-t.html#cairo-surface-t

It would be nice if you can provide a simple example of how to use
this function? ( read a PNG file from disk, call
cairo-image-surface-get-data, etc, write PNG to disk ... )

-- 
Best Regards,
Nguyen Hung Vu
vuhung16plus{remove}@gmail.dot.com
An inquisitive look at Harajuku
http://www.flickr.com/photos/vuhung/sets/72157600109218238/


More information about the cairo mailing list