De : "J.B.C.Engelen@...1578..." <J.B.C.Engelen@...1578...>
À : Inkscape-devel@lists.sourceforge.net
Envoyé le : Mer 9 juin 2010, 11h 34min 39s
Objet : Re: [Inkscape-devel] SVG Vector Effects in Inkscape
Vector effects and LPEs are incomparable, in
my opinion.
> -----Original Message-----
> From: Krzysztof Kosiński [mailto:
tweenk.pl@...400...]
> Sent: Tuesday, June 08, 2010 17:02
> To: Ted Gould
> Cc:
Inkscape-devel@lists.sourceforge.net> Subject: Re: [Inkscape-devel] SVG Vector Effects in Inkscape
>
> 2010/6/7 Ted Gould <
ted@...11...>:
> > It seems like the LPEs would be enough for that eh? I mean
> you don't
> > need final XML syntax (well you do, but don't need to test that as
> > much) as much as having the same set of parameters in both to make
> > sure those parameters can create all the effects that
> you're
envisioning.
>
> Vector effects are more flexible than LPEs. Vector effects
> can be used for things like shapes with multiple strokes,
> non-destructive boolean operations, offsets, etc. The main
> difference is that the output of vector effects is arbitrary,
> while the output of LPEs is always a single path or a group of paths.
This of course triggers me to respond.
LPEs are more flexible than Vector effects. LPEs
can be used for all kinds of non-destructive path alchemy,
like boolean operations, spiro, path bending, subcurve stitching,
even generating gears out of a number of path nodes.
The main difference is that the output of LPEs is arbitrary,
while the output of Vector effects is always a simple path
or a group of simple paths nearly identical to the input path.
I think objectively, LPEs are more _flexible_, because Vector
effects only provides a handful
of path chemistry, while LPEs
can do pretty much anything that is programmable in C++.
However, because Vector effects works with SVG objects instead
of just path data, it can do many things LPEs can't do.
We discussed this a bit at LGM2010. A possible solution for the
non-animatability of LPEs, is to add succesful LPEs as Vector
effects. (and which svg viewers will implement those new things?
LPEs are generally very math intensive...)
> For me the ideal solution would be to:
> 1. Implement vector effects with fallback using svg:switch,
> 2. Migrate LPEs to vector effects.
I do not see how any (well, most anyway) of the current LPEs can be migrated to vector effects.
Nor do I see how any (well, most anyway) of the vector effects can be migrated to LPE.
Vector effects and LPEs are incomparable, in my opinion.
Ciao,
Johan
------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
lucky parental unit. See the prize list and enter to win:
http://p.sf.net/sfu/thinkgeek-promo_______________________________________________
Inkscape-devel mailing list
Inkscape-devel@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/inkscape-devel