inconsistent scaling behavior of LPE PatternAlongPath
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Invalid
|
Undecided
|
Unassigned |
Bug Description
I believe this bug is a duplicate of Bug 1354339, but that report is marked as Fix Released, so I thought I would issue a new report.
If one subjects a LPE Pattern Along Path to a uniform scaling operation, the LPE does not scale uniformly, while other LPE's, such as Bend, do scale uniformly.
Attached is a demo file, demo.svg. It was produced with Inkscape 0.91+devel r13954 (Feb 28 2015) with the preferences:
- Visual bbox
- Scale Stroke Width
- Store Transformation Optimized
- select the bottom object, which has an LPE Bend
- hold down the Ctrl key and drag a corner to produce uniform scaling
- note that the uniform scaling is kept intact after releasing the mouse
- select the top object, which has an LPE Pattern Along Path
- hold down the Ctrl key and drag a corner to produce uniform scaling
- note that the scaling is uniform while the drag is being performed
- now release the mouse and note that the scaling becomes non-uniform, the horizontal scale keeps the new applied scale, but the vertical scale appears to revert back to the original scale.
- similar behavior occurs if one tries to vertically resize the height with the mouse
- similar behavior occurs if one attempts to use the Transform Dialog to perform a perfectly uniform scaling of 200%
- reproduced on Inkscape 0.47pre1 (Jul 3 2009)
- not reproduced on Inkscape 0.46 + devel rev 20418, Dec 30, 2008
tags: | added: livepatheffects transformations |
I believe this change was introduced in rev 7691
http:// bazaar. launchpad. net/~inkscape. dev/inkscape/ trunk/revision/ 7691/src/ live_effects/ lpe-patternalon gpath.cpp