diff options
author | Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org> | 2009-11-12 01:09:11 (GMT) |
---|---|---|
committer | Eduardo M. Fleury <eduardo.fleury@openbossa.org> | 2009-11-12 21:35:40 (GMT) |
commit | 41cc464ec332033127b88433ffa0a2a990fec83d (patch) | |
tree | a131ebd4395fe9ff64738bc79299968807e1c979 /mkspecs/symbian-sbsv2 | |
parent | 604b6d9d00e36de7ed516e4fa5c277946216f1e9 (diff) | |
download | Qt-41cc464ec332033127b88433ffa0a2a990fec83d.zip Qt-41cc464ec332033127b88433ffa0a2a990fec83d.tar.gz Qt-41cc464ec332033127b88433ffa0a2a990fec83d.tar.bz2 |
QGAL: fix update size hints logic in parallel anchors
When filling sizeAt* values for parallel anchors, we have to identify
the case when the second anchor in the parallel doesn't have the same
direction as the parallel itself. However, relying on the parallel group
vertices to identify this case is not safe, because after a parallel
group a new vertex simplification can happen.
So, the comparing the 'from' with the first edge is the correct way to
verify whether the second is backwards. Code was fixed to follow that.
Note that, without negative spacing the case "out-of-order" for parallels
is only the trivial case (size == 0).
Signed-off-by: Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
Reviewed-by: Eduardo M. Fleury <eduardo.fleury@openbossa.org>
Diffstat (limited to 'mkspecs/symbian-sbsv2')
0 files changed, 0 insertions, 0 deletions