Prepare for qml generator tool
A number of minor changes which should not affect normal rendering,
the most important being:
1) Add property accessor methods to many QLottieBase subclasses
2) Add a document-wide isStructureDumping() setting. If enabled, the
updateProperties() and render() traversal will not skip or hide items
that would normally be invisible at the current frame number.
3) Ensure the Solid and Null layers also perform all the normal
rendering steps, calling back to the given renderer object
4) Rename applyLinkedTransforms to applyLayerTransform, which
describes the function more accurately
5) Ensure the layer startTime property is only read in precomp layers,
since Lottie ignores it for other layer types.
6) Move applyTransform() function to QLottieRenderer, allowing reuse
7) Remove EXPORT directive from template classes in headers: it makes
no sense and breaks compilation on windows.
Change-Id: I354c11c95c96a6cdb428c267baabd9926f76cd17
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
| commit | 69662108f1511d8b31b4858ff5d29f7086de428c |
| parent | 9ae9a8c1c068506920ec9ae6ba83e82b453e3aec |
| author | Eirik Aavitsland <eirik.aavitsland@qt.io> |
| committer | Eirik Aavitsland <eirik.aavitsland@qt.io> |
| commit time | Thu, 15 May 2025 08:49:37 +0200 |
- M src/lottie/qbeziereasing_p.h
- M src/lottie/qlottiebase.cpp
- M src/lottie/qlottiebase_p.h
- M src/lottie/qlottiebasictransform_p.h
- M src/lottie/qlottieconstants_p.h
- M src/lottie/qlottieflatlayers.cpp
- M src/lottie/qlottiegroup.cpp
- M src/lottie/qlottielayer.cpp
- M src/lottie/qlottielayer_p.h
- M src/lottie/qlottieprecomplayer.cpp
- M src/lottie/qlottieproperty_p.h
- M src/lottie/qlottieroot.cpp
- M src/lottie/qlottieroot_p.h
- M src/lottie/qlottieshape_p.h
- M src/lottie/qlottieshapelayer.cpp
- M src/lottie/qlottieshapetransform_p.h
- M src/lottie/qlottietrimpath.cpp
- M src/lottie/qlottietrimpath_p.h
- M src/lottie/renderer/qlottierasterrenderer.cpp
- M src/lottie/renderer/qlottierenderer.cpp
- M src/lottie/renderer/qlottierenderer_p.h
- A tests/baseline/data/original/rotate_anchor.json
- A tests/baseline/data/original/skew_bothaxes.json
- A tests/baseline/data/original/skew_xaxis.json
- A tests/baseline/data/original/skew_yaxis.json