Comment 40 for bug 1241902

Revision history for this message
Jabiertxof (jabiertxof) wrote :

Hi again with this bug.
I add two pach one for experimental and another for trunk -next entry-
Finaly i find a way too much simple than the original. All code reside in the tree modified functions in sp-lpe-item files.
To use in one particular effet you need to put in the "doBeforeEffect" function this code:

SPLPEItem * item = const_cast<SPLPEItem*>(lpeitem);
item->apply_to_clippath(item);
item->apply_to_mask(item);

After this, the modified effect apply also to clip and mask.

I do a pre-selection to suitable effect for apply it, and apply to them in this patchs.

For trunk i add to this effects:
envelope deformation
bend path
lattice deformation
mirror symmetry
offset
perspective_path
vonKoch

And for experimental to this:
envelope deformation
bend path
lattice deformation
mirror symmetry
offset
perspective_path
vonKoch
roughen
simplify
perspective/envelope
lattice2