[cairo] copy cairosurface and attributes

Alex Vazquez avazquez.dev at gmail.com
Wed Jul 8 13:33:34 PDT 2015


Hi!!
I want to know how i can copy a cairosurface and attributes.
I give you an example:
I have a cairoSurface and apply a translate and i want create a copy this
surface.

cairo_surface_t *surface =cairo_image_surface_create (CAIRO_FORMAT_ARGB32,
320, 480);
cairo_t *cr =cairo_create (surface);
cairo_translate(cr,100,100);

Thanks!
Regards!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cairographics.org/archives/cairo/attachments/20150708/0ce1541a/attachment.html>


More information about the cairo mailing list