Comment 1 for bug 172137

Revision history for this message
jfb (jf-barraud) wrote :

I think that the main issue behind this is that transforming an object before or after applying an lpe is not the same.

Therefore, I think the natural answer is to use effect stacking.

A basic "transform effect" should be defined, and whenever you rescale, rotate or transform an object carying such an lpe effet, the transform is added as a new transform effect at the end of the stack (or merged with the last one if it is already a transform effect) rather than as a transform attribute.

The result is then wat you visually expect. The benefit of this solution is that it is uniform for all lpe, and handles the case of several effects: propagating the transforms into all the parameters of all the effects might be tricky.

In the particular exemple of skeletal stroke, you can
-scale the skeleton without scaling the pattern by inserting a transform effect *before* lpe-pattern-along-path.
-scale both skeleton and pattern by inserting a transform effect *after* the lpe-pattern-along-path.

Of course, this requires to have a user friendly lpe stack, but I think we'll sooner or later need one!!
-JFB.

-JF.