summaryrefslogtreecommitdiffstats
path: root/src/opengl/gl2paintengineex/qtriangulatingstroker.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Prevent access to non-existent memory in triagulating strokerRhys Weatherley2009-12-181-2/+8
| | | | | | | | | | | | | In the triangulating stroker, the last point was being duplicated in dashed paths. But because QDataBuffer::add() takes a ref to a float rather than a float, it would resize the data buffer and then try to fetch the values out of a pointer to the original buffer memory. This change copies the values into temporary variables before resizing the array. Task-number: QTBUG-6045 Reviewed-by: Sarah Smith
* Fixed the GL2 engine stroker to handle Qt::SvgMiterJoin.Kim Motoyoshi Kalland2009-11-301-0/+1
| | | | Reviewed-by: Trond
* Moved functions from .h to .cpp in the GL2 engine stroker.Kim Motoyoshi Kalland2009-11-261-0/+204
| | | | | | | Some of the functions had become too long to be inlined in my opinion. Reviewed-by: Trond
* Fixed stroking of cosmetic dashed pens with the GL2 paint engine.Kim Motoyoshi Kalland2009-11-131-6/+3
| | | | | | | | Also fixed square caps which in some cases were extruded in the wrong direction. Task-number: QTBUG-5736 Reviewed-by: Trond
* Fixed stroking of discontinuous paths with the GL2 engine.Kim Motoyoshi Kalland2009-11-131-0/+3
| | | | | | | | | | 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
* Better cosmetic pen scaling for beziers in tristroker.Gunnar Sletta2009-11-021-1/+1
| | | | Reviewed-By: Samuel
* Merge branch '4.6' of git@scm.dev.nokia.troll.no:qt/qt into 4.6Gunnar Sletta2009-10-301-0/+4
|\
| * Fix namespace buildRichard Moe Gustavsen2009-10-281-0/+4
| | | | | | | | | | | | Looks like a couple of files missed the namespace macro... Rev-By: gunnar
* | Kill a tiny few sin/cos/sqrt calls in the new strokerGunnar Sletta2009-10-261-2/+2
|/ | | | Reviewed-by: Eskil
* Added license headers to new filesGunnar Sletta2009-10-221-0/+41
|
* Integrated new triangulating stroker into QtGunnar Sletta2009-10-191-0/+299