| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Change-Id: I96d2fbd9ae59e1d77bcba40f041761d772e98d55
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
|
|
|
|
|
| |
Change-Id: Id31dd926d3319b7380b7c4ab3d2dc85de0ab570e
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
|
|
|
|
|
| |
Change-Id: I8532a57f6b43652625a3c01204b93f571bf0c5c1
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
|
|
|
|
|
| |
Change-Id: I8a1aa85434ff1d41d9697764be3fc5d1213dec2f
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
|
|
|
|
|
| |
Change-Id: If7c528e6b250b587e3bbab4a4bb0645096248912
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
|
|
|
|
|
| |
Change-Id: I4e4792ee75177ee6e24b26fe18ef488c52a20177
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
|
|\
| |
| |
| | |
Change-Id: I589e15e78ac980f326566e7543e0378c24e4088a
|
| |
| |
| |
| |
| |
| | |
Task-number: QTBUG-46653
Change-Id: I9944b62141d7054e3935000a819bebc5fd54df6c
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
|
| |
| |
| |
| |
| |
| | |
Change-Id: Id95d1f09fa533e2993f446da965fa7cda81c473a
Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
|
| |
| |
| |
| |
| | |
Change-Id: I2d62c5db857bcf2de093ff10fa4cf36c4420f820
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
|
| |
| |
| |
| |
| | |
Change-Id: I4c3cca7f7c33bb5aebff4e3edcdbf7cd263d6262
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
|
| |
| |
| |
| |
| | |
Change-Id: I12e733e42a5280a146a9f63c04e87a4bff005488
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
|
|\ \
| |/
| |
| | |
Change-Id: I535fa2bbee58d1cd15e1c25f0ac6321d502518fb
|
| |\
| | |
| | |
| | | |
Change-Id: If6bf34ca3216ab9e0866d8c4eea7c4e92a7f3f4d
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The recent introduction of keepAspectRation scaling led to wrong
output (outside bounds) in the case of an explicitly specified target
bounds rect, i.e. QSVGRenderer::render(QPainter *p, QRectF bounds).
Fix by reverting to old code path in this case, i.e. allow the user to
override the keepAspectRatio behavior by explicitly specifying target
bounds.
As a driveby, also fix the keepAspectRatio code path in case of a
target rect having non-zero x/y coordinates. Now the fix above means
that this will never happen in the code as it stands, but it may come
in handy later.
[ChangeLog][QSVGRenderer] From Qt 5.14.0, normal rendering will keep
aspect ratio implied by the viewbox. The render() methods taking an
explicit target bounds QRectF parameter can now be used to override
that behavior. They will scale the output to the bounds while ignoring
aspect ratio, as was the default rendering prior to 5.14.0.
Fixes: QTBUG-80888
Change-Id: I399b05ca50d290b8e4b01bdc47b5b6f74c890c9a
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
|
| | |
| | |
| | |
| | |
| | | |
Change-Id: I1454cc02ff45aef491278e9c027424b7282b2512
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
|
| | |
| | |
| | |
| | |
| | | |
Change-Id: Iebec4569279992492d1efe1772a54426b9534bec
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
|
| | |
| | |
| | |
| | |
| | | |
Change-Id: I136e22b599b3a1095ea9e19156f903c10280b4c3
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
|
| | |
| | |
| | |
| | |
| | | |
Change-Id: I0bb4db842cc3c1664c93c18763988db9f30064b3
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
|
| | |
| | |
| | |
| | |
| | | |
Change-Id: I438bf3b431952a25d94bd5ecd8ae8826ec359414
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
|
|\ \ \
| |/ /
| | |
| | | |
Change-Id: I4f1731d136f6031eeadb5866333b24179884728d
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
oss-fuzz sets the environment variable LIB_FUZZING_ENGINE
to link with AFL or libFuzzer. If this variable is not set,
libFuzzer will be used as before, only that the right qmake
variable will be used for doing so.
Change-Id: I024e1cb460d6777b50947c6622bcefc652c1338d
Reviewed-by: Albert Astals Cid <albert.astals.cid@kdab.com>
|
| | |
| | |
| | |
| | |
| | | |
Change-Id: I290711e35a634b559a8f62e43b24ef3fd722fc2a
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
|
|\ \ \
| |/ /
| | |
| | | |
Change-Id: I7d0a9b5cf005689cc1b8d85c02d4b985708f9996
|
| |\ \
| | |/
| | |
| | |
| | |
| | |
| | | |
Conflicts:
.qmake.conf
Change-Id: Icdd813d576712aa52d6c7a1c5600882b4286f2ac
|
| | |
| | |
| | |
| | | |
Change-Id: Icd9989d704ff07d7e7b8b516723dfd55ae491918
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
BC file built against 5.14.0 added.
Change-Id: Ib26e7a17413883495ada0fa12c4ad2fd9e066359
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Remove the framebufferobject example as it still relied
on the now removed QGL* classes.
Ported the svgviewer example over to use QOpenGLWidget.
Change-Id: Idfb1ea7bcb0c8ba7f3f97b4b2d26603f4f7ec96a
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Reviewed-by: Johan Helsing <johan.helsing@qt.io>
|
|\ \ \
| |/ /
| | |
| | | |
Change-Id: Id35eb26777ca0393c4e9442917b92f3fc64d08c9
|
| |\ \
| | |/
| | |
| | | |
Change-Id: I186367ec6aa745d73325ea88479d01b8f26708a3
|
| | |\
| | | |
| | | |
| | | | |
Change-Id: I84b0aa93f181b1ec1308c0ef8db0941078feab43
|
| | |/
| | |
| | |
| | |
| | | |
Change-Id: I0b0c676870bf088545dc5c8b01066cb4c50542b8
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
|
|\ \ \
| |/ /
| | |
| | | |
Change-Id: Ibb75928176da36784ecc1132e600b815b1695fbb
|
| | |
| | |
| | |
| | |
| | |
| | | |
Change-Id: Ia10879666a87dc4db596b75cfbf654379e75041b
(cherry picked from commit 5c298ef5bea0930b68263ba84194250dbb9d26a9)
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| | |
| | |
| | |
| | |
| | | |
Change-Id: I0cad3020b8980de2a449d87c295de1bfeb80b546
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
|
| | |
| | |
| | |
| | |
| | | |
Change-Id: I4eca329d6ec25f6301f9039253e8329d3382f02a
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
|
| | |
| | |
| | |
| | |
| | | |
Change-Id: I61d71960cc75396df8dc3032fc4e2e84203ffd6c
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
|
| | |
| | |
| | |
| | |
| | | |
Change-Id: I7df32a06797ed23021c508a44c2f25d04cfaf70b
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
|
| | |
| | |
| | |
| | |
| | | |
Change-Id: Id028aa52c59f0fa051e18cbeeeabe6b1c4061a35
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
|
| | |
| | |
| | |
| | |
| | | |
Change-Id: I632ec5544ea898ce1ad2e218ce1d251c24e73780
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
|
| | |
| | |
| | |
| | |
| | | |
Change-Id: I96c00cea562da9e8f7ed2f1b0d63117e9e647456
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
|
|\ \ \
| |/ /
| | |
| | | |
Change-Id: I24a15a5df1d8dc088c63da74cb5c1cdcf6cad411
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
It is being deprecated.
Change-Id: Ia8306d3874dc21d431fcb621e1f487f55b2bed8d
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
| | |
| | |
| | |
| | |
| | | |
Change-Id: I203f31f200d1f227fbd5ee8fbb27d742401264ff
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
|
| | |
| | |
| | |
| | |
| | | |
Change-Id: I1b87dd2d2f4ca5dab339133d2fbd4e756bab6814
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
|
|\ \ \
| |/ /
| | |
| | | |
Change-Id: I9bcff36d9cefb01ab8b3214139a70194a5ea31fe
|
| |\ \
| | |/
| | |
| | | |
Change-Id: I6d5d6b486fbd7d0d9324937e24edff2890f02bdf
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This is a modification of 14fa4591eb34a35cf3d485fd901e3f1e2caa7770
That patch corrected the handling of the view box when rendering an
entire SVG document. However, contrary to intention stated in the
comment of that patch, it turns out that the new viewbox handling code
path can be taken also for the case of rendering only a single element
by id. Instead, we want to keep the original behavior where the
element's origin bounds are transformed to fit into the user requested
target bounds, allowing non-proportional scaling.
Since the render-single-element case is easily and uniqely
identifiable by the sourceRect parameter being non-null, just add an
explicit check for that to the code path branching.
Done-with: Eirik Aavitsland <eirik.aavitsland@qt.io>
Fixes: QTBUG-79933
Change-Id: I64a35bbb193db22c33670b48ea165a91df8e719e
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
m_implicitViewBox needs to be true if the explicit viewBox is null. That
relationship between m_viewBox and m_implicitViewBox can be see in
QSvgTinyDocument::viewBox().
Task-number: QTBUG-79933
Change-Id: I6ea5a849479b10117128bcaf1799e3770b145e77
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
|
| | |
| | |
| | |
| | |
| | | |
Change-Id: Ifb28491916bd30725bc460f7561a62b1933527c7
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
|