diff options
author | Andreas Kling <andreas.kling@nokia.com> | 2010-09-12 17:19:52 (GMT) |
---|---|---|
committer | Andreas Kling <andreas.kling@nokia.com> | 2010-09-12 18:13:12 (GMT) |
commit | d9f5115eb7f7ba78db245ff9e66ae638317f5b70 (patch) | |
tree | d0242df26b6449bf836184a881813672c7e7b7b5 /src/sql | |
parent | 288244c528ca169d1a3b015e27fc9561d7094563 (diff) | |
download | Qt-d9f5115eb7f7ba78db245ff9e66ae638317f5b70.zip Qt-d9f5115eb7f7ba78db245ff9e66ae638317f5b70.tar.gz Qt-d9f5115eb7f7ba78db245ff9e66ae638317f5b70.tar.bz2 |
QStroker: Fix erroneous SvgMiterJoin behavior for parallel lines
QLineF::intersect() yields an undefined intersectionPoint for parallel
lines. Thus if the distance to 0,0 is shorter than the current miter
limit, we would draw a triangle to 0,0.
Handle this by not drawing the triangle for parallel lines.
This matches the behavior of Qt::MiterJoin.
Diffstat (limited to 'src/sql')
0 files changed, 0 insertions, 0 deletions