diff options
author | Eduardo M. Fleury <eduardo.fleury@openbossa.org> | 2009-10-26 19:55:20 (GMT) |
---|---|---|
committer | Eduardo M. Fleury <eduardo.fleury@openbossa.org> | 2009-10-26 22:17:57 (GMT) |
commit | 1607216cc6292ef9a4af68ce6d29dc79fffea92c (patch) | |
tree | a39534db9e224b9c7a95438fa0d615dd0d3ef932 /src/gui/graphicsview/qgraphicsview.cpp | |
parent | b14a16ce149fe9bc0e4ab66d946eb90416bd4a88 (diff) | |
download | Qt-1607216cc6292ef9a4af68ce6d29dc79fffea92c.zip Qt-1607216cc6292ef9a4af68ce6d29dc79fffea92c.tar.gz Qt-1607216cc6292ef9a4af68ce6d29dc79fffea92c.tar.bz2 |
QGAL: Add test for David Boddie bug
The current simplification code does not handle sequences with anchors
pointed to different directions could not be simplified together into
a sequential anchor.
A (10 / 20 / 50 ) B (20 / 20 / 20)
Ex: o-----------------> <----------------o
The reason we don't support it yet is shown in the example above. The
resulting anchor would be either:
Result_1 (-10 / 0 / 30)
o------------------------------------>
(or)
Result_2 (-30 / 0 / 10)
<------------------------------------o
But the current implementation assumes no anchors can have negative
sizes.
Hopefully, the next commits will add support for it and then enable
such simplification. :-)
Signed-off-by: Eduardo M. Fleury <eduardo.fleury@openbossa.org>
Diffstat (limited to 'src/gui/graphicsview/qgraphicsview.cpp')
0 files changed, 0 insertions, 0 deletions