summaryrefslogtreecommitdiffstats
path: root/src/svg
Commit message (Collapse)AuthorAgeFilesLines
* Fixed inheritence of SVG 'use' element fill attributes.Kim Motoyoshi Kalland2009-07-213-28/+36
| | | | | | | | | Inheritence of fill attributes was implemented by copying attributes from the parent node. This approach wouldn't work if the node is referenced by a 'use' element. Now, only the fill attributes which have been explicitly set are applied on the painter while drawing. Reviewed-by: Tor Arne
* Fix compiler warning about initialization orderhjk2009-07-211-2/+2
| | | | reviewed-by: Kim Motoyoshi Kalland
* Fixed handling of some SVG attributes when value is invalid.Suneel BS2009-07-091-14/+34
| | | | | | | | When the parsing of an SVG attribute fails, it should be given the default value. Fixed handling of invalid viewBox, stop-opacity and stop-offset. Autotest included. Reviewed-by: Kim
* Fixed inheritence of SVG fill attributes.Suneel BS2009-07-093-35/+64
| | | | | | | Fixed inheritence of fill-opacity, fill-rule and fill. Autotest included. Reviewed-by: Kim
* Fixed inheritance of some attributes in SVG.Suneel BS2009-07-014-96/+170
| | | | | | | Fixed inheritance of stroke attributes, the font-size and text-anchor attribute. Autotest added by Kim. Reviewed-by: Kim
* Fixed bug in the SVG module where display="none" was not respected.Suneel BS2009-06-222-53/+57
| | | | | | | Elements with display="none" should not be rendered. Modified and autotest added by Kim. Reviewed-by: Kim
* Fixed forward gradient reference in the SVG module.Suneel BS2009-06-223-10/+75
| | | | | | | Autotest added by Kim. Task-number: 204686 Reviewed-by: Kim
* Fixed path bug in the SVG module.Suneel BS2009-06-221-0/+10
| | | | | | | In path, if 'moveto' is followed by multiple pairs of coordinates, those pairs shall be treated as 'lineto'. Autotest added by Kim. Reviewed-by: Kim
* Clamped opacity to the range [0, 1] in the SVG module.Suneel BS2009-06-221-7/+7
| | | | | | Modified and autotest added by Kim. Reviewed-by: Kim
* Fixed fill-rule for polygon SVG element.Suneel BS2009-06-223-3/+10
| | | | | | | | Polygon element should apply the fill rule which is specified in its fill-rule attribute. Default fill rule is 'WindingFill' (nonzero). Modified and autotest added by Kim. Reviewed-by: Kim
* Merge branch '4.5' of scm.dev.nokia.troll.no:qt/qtSimon Hausmann2009-06-181-0/+1
|\ | | | | | | | | | | | | Conflicts: configure.exe tests/auto/qpainter/tst_qpainter.cpp translations/qt_ru.ts
| * Fixed a problem with QSvgRenderer::animationDuration().Trond Kjernåsen2009-06-181-0/+1
| | | | | | | | | | | | | | May have returned random values for SVGs without animation tags. Task-number: 256073 Reviewed-by: Kim
* | Merge license header changes from 4.5Volker Hilsheimer2009-06-1622-44/+44
|\ \ | |/
| * Update license headers as requested by the marketing department.Jason McDonald2009-06-1622-44/+44
| | | | | | | | Reviewed-by: Trust Me
* | improved string operations all over the placeThierry Bastian2009-05-281-40/+37
| | | | | | | | | | used character operations whenever possible better usage of QLatin1String
* | Merge branch '4.5' of git@scm.dev.nokia.troll.no:qt/qtSimon Hausmann2009-05-271-1/+1
|\ \ | |/ | | | | | | Conflicts: tests/auto/qtreeview/tst_qtreeview.cpp
| * fix warning in QtSvg if qreal == floatJoerg Bornemann2009-05-251-1/+1
| | | | | | | | Reviewed-by: mauricek
* | Merge commit 'origin/4.5'Olivier Goffart2009-05-181-3/+12
|\ \ | |/ | | | | | | | | | | Conflicts: src/corelib/kernel/qobject.cpp src/corelib/kernel/qobject_p.h src/network/access/qhttpnetworkconnection.cpp
| * Fixed the SVG parser to handle CSS properties with multiple values.Trond Kjernåsen2009-05-181-3/+12
| | | | | | | | | | | | | | | | | | | | CSS properties with more than 1 value was ignored. E.g. the 'stroke-dasharray' attribute is specified by a comma separates list of numbers. This was previously ignored because the CSS parser split it into a value array. Task-number: 253614 Reviewed-by: Kim
* | Merge branch '4.5'Thiago Macieira2009-04-241-0/+1
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | Conflicts (version number change in 4.5): src/corelib/global/qglobal.h src/qbase.pri tools/qdoc3/test/assistant.qdocconf tools/qdoc3/test/designer.qdocconf tools/qdoc3/test/linguist.qdocconf tools/qdoc3/test/qmake.qdocconf tools/qdoc3/test/qt-build-docs.qdocconf tools/qdoc3/test/qt.qdocconf
| * Fix an issue with SVG gradient rendering.Alexis Menard2009-04-241-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | This patch complete the two others made by Kim : - 6c2dd295b2ca2f9125fe072d035a3784ce748718 - 003223dcfc1fa884b82085db19d4c4056bf6eaa0 It fix the stops if the gradient link to another gradient below. Task-number: KDE Reviewed-by: Kim Reviewed-by: Samuel
* | Merge branch '4.5' of git@scm.dev.nokia.troll.no:qt/qtSimon Hausmann2009-04-231-13/+3
|\ \ | |/ | | | | | | | | | | Conflicts: src/corelib/global/qfeatures.h src/gui/painting/qtransform.cpp util/scripts/make_qfeatures_dot_h
| * Fixes memory leak in QSvgWidget.Rohan McGovern2009-04-221-13/+3
| | | | | | | | | | | | | | | | `q' is 0 during construction of QSvgWidgetPrivate, thus each QSvgWidget instance was creating a QSvgRenderer with no parent. Acked-by: Thiago Macieira Reviewed-by: Shane Bradley
* | Make sure the cached SVG image node uses the premultiplied format.Trond Kjernåsen2009-04-201-0/+3
| | | | | | | | Reviewed-by: Gunnar
* | Rename qIsFuzzyNull to qFuzzyIsNullBjoern Erik Nilsen2009-04-083-10/+10
| | | | | | | | | | | | | | | | | | | | The function was added in fde7f3d03782c801901f511131458d6fcb1021a5 and we believe qFuzzyIsNull is a better naming and more in line with qFuzzyCompare. Reviewed-by: Lars Knoll Reviewed-by: nrc Reviewed-by: Samuel
* | Use qIsFuzzyNull rather than the more expensive qFuzzyCompareBjoern Erik Nilsen2009-04-083-10/+10
|/ | | | | | | See also fde7f3d03782c801901f511131458d6fcb1021a5 Reviewed-by: Olivier Reviewed-by: Samuel
* Removed usage of NaN in SVG gradients.Kim Motoyoshi Kalland2009-04-062-3/+5
| | | | | | | | | The previous change 6c2dd295b2ca2f9125fe072d035a3784ce748718 to remove usage of NaN in SVG gradients was incomplete. This commit should fix that. Task-number: 250146 Reviewed-by: Samuel
* Removed usage of NaN in SVG gradients.Kim Motoyoshi Kalland2009-04-033-15/+21
| | | | | | | | | | | | | | Since there is no way to find out if gradient stops have been added to a gradient, a gradient stop at NaN was earlier used in the SVG module to mark the gradient as empty. This could cause floating point exceptions. The usage of NaN has now been replaced by a boolean in QSvgGradientStyle. Duplicate entry "qxmlpatterns" was removed from auto.pro in the auto test directory. Task-number: 250146 Reviewed-by: Samuel
* Squashed commit of the following:David Boddie2009-03-261-1/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | commit 23e30464792f7e403e0815775eb7acbaad975238 Author: David Boddie <dboddie@trolltech.com> Date: Thu Mar 26 17:41:20 2009 +0100 Doc: Added some basic documentation for the QSvgGenerator class. Task-number: 244944 Reviewed-by: TrustMe commit f84c1806d2ba40a61499584562d754f65d43f854 Merge: 8a42be7... 213d922... Author: David Boddie <dboddie@trolltech.com> Date: Thu Mar 26 16:59:14 2009 +0100 Merge branch '4.5' of ../qt-45 into qt/4.5 commit 8a42be789077de45f8fd9f13afd177798df7495e Author: David Boddie <dboddie@trolltech.com> Date: Thu Mar 26 16:58:33 2009 +0100 Doc: Added missing pieces for the SVG Generator example. Reviewed-by: David Boddie <dboddie@trolltech.com>
* Long live Qt 4.5!Lars Knoll2009-03-2323-0/+10714