[cairo] Fill+stroke optimisation for the SVG backend

Behdad Esfahbod behdad at behdad.org
Tue Jul 31 14:09:32 PDT 2007


On Tue, 2007-07-31 at 17:07 -0400, Emmanuel Pacaud wrote:
> 
> 
> I've recently tried to optimize the output of the SVG backend in the
> case of consecutive calls to fill and stroke with the same path, and
> only emit one <path> element in this case.

What if the stroke pattern is not an opaque solid one?  In that case the
fill will be visible through the stroke.

-- 
behdad
http://behdad.org/

"Those who would give up Essential Liberty to purchase a little
 Temporary Safety, deserve neither Liberty nor Safety."
        -- Benjamin Franklin, 1759





More information about the cairo mailing list