diff options
author | Samuel Rødal <samuel.rodal@nokia.com> | 2010-09-20 12:54:30 (GMT) |
---|---|---|
committer | Samuel Rødal <samuel.rodal@nokia.com> | 2010-09-23 13:39:50 (GMT) |
commit | 7c673a4cf64ba043bb27f90287517bdcdd7a21db (patch) | |
tree | df76e23216d832f9d208e51a20e8d65d43a2aca0 /src/gui/painting/qpen_p.h | |
parent | 07c5429d5aacab932cd912e66287d66fb952e7c4 (diff) | |
download | Qt-7c673a4cf64ba043bb27f90287517bdcdd7a21db.zip Qt-7c673a4cf64ba043bb27f90287517bdcdd7a21db.tar.gz Qt-7c673a4cf64ba043bb27f90287517bdcdd7a21db.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
Diffstat (limited to 'src/gui/painting/qpen_p.h')
0 files changed, 0 insertions, 0 deletions