[Cairo] Re: Semantics of cairo_copy changed in 0.1.7

Keith Packard keithp at keithp.com
Tue Sep 30 13:53:57 PDT 2003


Around 16 o'clock on Sep 30, Carl Worth wrote:

> The intent is to copy the contents of the top of the src stack to the
> top of the dest stack. This seems like the operation that will be
> commonly desired in practice. Let me know if it needs a better name or
> if I botched the implementation yet again.

Ah.  Now it makes sense, and the code appears to at least do that.  One 
problem -- it calls _cairo_gstate_copy even if src->status != 0 -- won't 
src->gstate be NULL some of the time?

-keith






More information about the cairo mailing list