| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
New files after previous license change round.
Reviewed-by: Trust Me
|
|
|
|
| |
The new algorithm would fail if the start and end point were identical.
|
|
|
|
|
|
| |
Calculating the continuation point for
closed contours was not taking transformations
and the half pixel offset into account.
|
|
|
|
|
| |
Add proper license headers and properly clip
pixel drawing to the devices bounding rect.
|
| |
|
|
|
|
| |
Reviewed-by: Samuel Rødal
|
|
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
|