[cairo] "data" in cairo_image_surface_get_data ()

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


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


is returned?

Is it in the format of 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
An inquisitive look at Harajuku

More information about the cairo mailing list