diff options
author | Samuel Rødal <samuel.rodal@nokia.com> | 2010-09-20 12:54:30 (GMT) |
---|---|---|
committer | Jason McDonald <jason.mcdonald@nokia.com> | 2010-09-29 03:21:58 (GMT) |
commit | 83e6bc232e687bab93c9eddaf0b4479462c8414c (patch) | |
tree | 74811014aed4347a29900bd85c8cf20e700cd4a7 /src/gui/painting/qrasterdefs_p.h | |
parent | 131327ffc04d9888ce2b820833867d5a18a6f109 (diff) | |
download | Qt-83e6bc232e687bab93c9eddaf0b4479462c8414c.zip Qt-83e6bc232e687bab93c9eddaf0b4479462c8414c.tar.gz Qt-83e6bc232e687bab93c9eddaf0b4479462c8414c.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 'src/gui/painting/qrasterdefs_p.h')
0 files changed, 0 insertions, 0 deletions