[cairo] [PATCH] Enable links to image files in SVG backend

Chris Wilson chris at chris-wilson.co.uk
Wed Jan 20 02:28:27 PST 2010


On Wed, 20 Jan 2010 12:18:24 +0200, Alexander Shulgin <alex.shulgin at gmail.com> wrote:
> 4. Another thing I forgot to mention, is the use of set_mime_data() in
> cairo-png.c.  I believe it's not justified and can lead to confusing
> results.

That issue is not limited to the debugging png loader, simply that the
mime-data on a surface does not reflect drawing made to a surface. It was
decided that attaching mime-data to a surface rather than a pattern would
be more convenient for the expected users, even though it leads to this
semantic mismatch. (A pattern is also not nearly as immutable as it might
be...)
-ickle

-- 
Chris Wilson, Intel Open Source Technology Centre


More information about the cairo mailing list