Add support for CSS timing function basic values
An animation can specify a timing function that can be used for
easing. CSS supports a wide range of timing functions, but this
commit focuses on creating the base implementation for supporting
easing in the module. This commit implements the "keywords"
timing function. This includes linear, ease, ease-in, ease-out,
ease-in-out, step-start, and step-end.
Task-number: QTBUG-139619
Change-Id: Ic5ca2e5249a95811ef9846c3ecaf0c3fdaf16604
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
| commit | e21efa08f412753ebc9ff29f8f2c440486668138 |
| parent | b3e175abce80a48ace20d312897712d93059af56 |
| author | Hatem ElKharashy <hatem.elkharashy@qt.io> |
| committer | Hatem ElKharashy <hatem.elkharashy@qt.io> |
| commit time | Thu, 4 Dec 2025 16:17:00 +0200 |
- M src/svg/CMakeLists.txt
- M src/svg/animation/qsvgabstractanimation.cpp
- M src/svg/animation/qsvgabstractanimation_p.h
- A src/svg/animation/qsvgeasinginterface_p.h
- A src/svg/css/animation/qsvgcsseasing.cpp
- A src/svg/css/animation/qsvgcsseasing_p.h
- M src/svg/css/qsvgcsshandler.cpp
- M src/svg/css/qsvgcsshandler_p.h
- M src/svg/css/qsvgcssproperties.cpp
- M src/svg/css/qsvgcssproperties_p.h
- A src/svg/css/util/qsvgcssvalues_p.h
- M src/svg/qsvganimate.cpp
- M src/svg/qsvganimate_p.h
- M src/svg/qsvghandler.cpp
- M src/svg/qsvghandler_p.h
- A tests/baseline/data/animations/css_animation_timing_function_bezier.svg
- A tests/baseline/data/animations/css_animation_timing_function_linear.svg
- A tests/baseline/data/animations/css_animation_timing_function_steps.svg