| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
Some of the functions had become too long to be inlined in my
opinion.
Reviewed-by: Trond
|
|
|
|
|
|
|
|
|
|
| |
The stroker generated two points for each miter join, one on the
convex side of the join, and one on the concave side. For sharp
joins between curved segments, the point on the concave side
could end up poking out of the stroke. This was fixed by
generating one point on the convex side only.
Reviewed-by: Trond
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Complete circles were generated at every round join, so if the
join were close to a flat cap, the circle would extend beyond
the flat cap. This was fixed by generating arcs rather than
complete circles. Likewise, round caps are now semi-circles
instead of full circles.
I also removed some unnecessary calculations when generating
square caps.
Reviewed-by: Trond
|
|
|
|
|
|
|
|
|
|
| |
Since the stroke is rendered as a triangle strip, zero area triangles
must be inserted in order to have gaps in the stroke. This is achieved
by duplicating vertices before and after each gap. It was already done
for open subpaths. This commit fixes gaps between closed subpaths.
Task-number: QTBUG-5736
Reviewed-by: Gunnar
|
|
|
|
| |
Reviewed-by: Trustme
|
|\ |
|
| |
| |
| |
| |
| |
| | |
Looks like a couple of files missed the namespace macro...
Rev-By: gunnar
|
|/
|
|
| |
Reviewed-by: Eskil
|
| |
|
|
|