[cairo] Fill+stroke optimisation for the SVG backend

Emmanuel Pacaud emmanuel.pacaud at lapp.in2p3.fr
Tue Jul 31 14:42:12 PDT 2007


Le mardi 31 juillet 2007 à 17:09 -0400, Behdad Esfahbod a écrit :
> 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.

That's what SVG does. Fill opacity and stroke opacity are two distinct
properties.

	Emmanuel.



More information about the cairo mailing list