diff options
author | Lars Knoll <lars.knoll@nokia.com> | 2011-04-14 21:38:45 +0200 |
---|---|---|
committer | Lars Knoll <lars.knoll@nokia.com> | 2011-05-12 10:36:29 +0200 |
commit | 1f806aa1b40db276dad359863d018171080d93f9 (patch) | |
tree | 5a0f8fee94b4d478d7d8c3eaa5d1574ece2d90ca /mkspecs/freebsd-icc | |
parent | e40443f7dfaa77e1295390385ef76f9b4e87c59b (diff) |
New algorithm for drawing thin lines
Added a new QCosmeticStroker class for drawing thin
lines. The class can handle both aliased and antialiased
lines.
The code replaces all the midpoint line drawing algorithms in
the raster paintengine and gives correct subpixel positioning
for lines.
It gives around 30% to 50% speedup against the midpoint algorithm. If
we missed that fast path, the speedup is around between a factor of
6 to 8 for lines and aliased paths and 100 and 400 for antialiased
paths.
Reviewed-by: Kim
(cherry picked from commit 37c329a3e35fabc88fbcad824a69f37c671d2132)
Diffstat (limited to 'mkspecs/freebsd-icc')
0 files changed, 0 insertions, 0 deletions