[cairo] semantics of cairo_copy()

Jonathan Brandmeyer jbrandmeyer at earthlink.net
Tue Jan 4 20:03:59 PST 2005


Perhaps this has slipped under the radar.  Can someone please shed some
light on exactly what this function is intended to do?

Thanks,
-Jonathan

On Sat, 2005-01-01 at 16:42 -0500, Jonathan Brandmeyer wrote:
> What are the semantics of cairo_copy()?  Specifically: What parts of the
> state are copied?   What preconditions must be met for src and dest
> before calling cairo_copy()?  Can a cairo_t targeting a PNG file be
> copied to a cairo_t targeting X11?  Is it an error to perform a
> cairo_copy() to a cairo_t that has not been targeted from one that is?**
> 
> What usage model is cairo_copy intended for?
> 
> Thanks,
> -Jonathan Brandmeyer
> 
> ** This one is an error right now: the code is "SIGSEGV" ;)  At worst,
> it should set the error flag.  Is it possible to make this work at all?
> 
> _______________________________________________
> cairo mailing list
> cairo at cairographics.org
> http://lists.freedesktop.org/mailman/listinfo/cairo
-- 
Jonathan Brandmeyer <jbrandmeyer at earthlink.net>




More information about the cairo mailing list