summaryrefslogtreecommitdiffstats
path: root/tests/auto/qpathclipper/tst_qpathclipper.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Removed bezier intersection code in path clipper.Samuel Rødal2010-04-221-50/+0
| | | | | | | | | | The bezier intersections caused a lot of numerical stability issues, so instead we now convert them to line segments. In the future it might be possible to keep track of which bezier curve a line segment originated from and reconstruct the bezier curves at the end. Task-number: QTBUG-8035 Reviewed-by: Gunnar Sletta
* Fixed bug in QPainterPath::intersected().Samuel Rødal2010-04-081-0/+29
| | | | | | | | | When we compute the angle delta we can't use qFuzzyCompare as it will cause slightly negative deltas to be snapped to 0, causing the winged edge builder to put path edges in the wrong order. Task-number: QTBUG-3778 Reviewed-by: Trond
* Fixed QGraphicsScene autotest failure in task250680_childClip.Samuel Rødal2010-02-191-82/+7
| | | | | | | | | | The path comparison is too strict. Even though the paths are equivalent (represent the same area) the comparison fails as they don't have the same representation. If we simplify the clip path and use the more generic path comparison approach from the QPathClipper autotest the test passes. Reviewed-by: Olivier Goffart
* Improved performance of path vs path intersection where one is a rect.Samuel Rødal2010-02-151-7/+11
| | | | | | | | By special-casing path vs rect intersections we can get much better performance and more robust clipping. Task-number: QTBUG-7396 Reviewed-by: Gunnar Sletta
* Update copyright year to 2010Jason McDonald2010-01-061-1/+1
| | | | Reviewed-by: Trust Me
* Update license headers again.Jason McDonald2009-09-091-4/+4
| | | | Reviewed-by: Trust Me
* Update tech preview license header.Jason McDonald2009-08-311-13/+13
| | | | Reviewed-by: Trust Me
* Update license headers.Jason McDonald2009-08-111-1/+1
| | | | Reviewed-by: Trust Me
* Fixed bugs in QPainterPath::united().Samuel Rødal2009-06-171-0/+20
| | | | | | | | | | Change from a relative to an absolute fuzzy compare as was the case pre-4.4. With a relative fuzzy compare points that have an x or y coordinate of 0 will never be merged with points that are very close to 0, for example (1e-15, 0). Task-number: 251909 Reviewed-by: Trond
* Update license headers as requested by the marketing department.Jason McDonald2009-06-161-2/+2
| | | | Reviewed-by: Trust Me
* Long live Qt 4.5!Lars Knoll2009-03-231-0/+1403