copy cairosurface and attributes

Alex Vazquez <[email protected]>
Newsgroups gmane.comp.lib.cairo
Message-ID <CAOTEMUR7Dk=d_vxHr-5LDxMM+khpN+Yu+PMBLM=zJwnQ-DBBEg@mail.gmail.com>
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!

-- 
cairo mailing list
[email protected]
http://lists.cairographics.org/mailman/listinfo/cairo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.