summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/code/src_script_qscriptengine.cpp
diff options
context:
space:
mode:
authorSamuel Rødal <samuel.rodal@nokia.com>2010-09-20 12:54:30 (GMT)
committerSamuli Piippo <samuli.piippo@digia.com>2011-06-09 10:06:57 (GMT)
commitde8ac0524e7ad9748d6a4f54d5d77bae7a6f3eb0 (patch)
tree06bc00a7bc541c001e280b0eb3fac07cc97da553 /doc/src/snippets/code/src_script_qscriptengine.cpp
parent0a245d03022efbc1664b4f8844e4ff9a1c71b063 (diff)
downloadQt-de8ac0524e7ad9748d6a4f54d5d77bae7a6f3eb0.zip
Qt-de8ac0524e7ad9748d6a4f54d5d77bae7a6f3eb0.tar.gz
Qt-de8ac0524e7ad9748d6a4f54d5d77bae7a6f3eb0.tar.bz2
Fixed scaled point drawing with square cap in raster paint engine.
With a large pen width and a small scale, due to the hacky way we draw points (stroking a line from (x, y) to (x + tiny_amount, y)), we some times end up snapping these two points to the same in rasterizeLine(). If we instead apply the SquareCap before we do clipping / snapping we don't get this problem. Task-number: QTBUG-13429 Reviewed-by: Trond (cherry picked from commit 7c673a4cf64ba043bb27f90287517bdcdd7a21db)
Diffstat (limited to 'doc/src/snippets/code/src_script_qscriptengine.cpp')
0 files changed, 0 insertions, 0 deletions