diff options
author | Eskil Abrahamsen Blomfeldt <[email protected]> | 2025-04-01 14:24:53 +0200 |
---|---|---|
committer | Eskil Abrahamsen Blomfeldt <[email protected]> | 2025-04-30 11:21:20 +0200 |
commit | 5f3b613b2ea848dfc66c00a6d91d507703a916b3 (patch) | |
tree | 45571e52ab9fa42a495dbfd9f77dbcda18f6101a /examples/quick/models/threadedfetchmore/threadedfetchmoremodel.cpp | |
parent | f52428e60023828dc20cce188e1689e3dc67c042 (diff) |
The alpha value of the fill and stroke colors can be animated
separately in SVG. In order to support this, we introduce a
specialized ColorOpacityAnimation type in a Helpers library
which only overwrites the alpha channel of the target property.
This requires an extra hook in the animation frame work which
allows us to get the current value of the property. It should
have minimal impact on any existing code, but may have
additional use cases later, when we implement support for
additive color animations for instance. Since the interpolator
API in QVariantAnimation is public API, we add a secondary,
private API for this. If we see use for it in the future,
this could mature to a public API as well.
Fixes: QTBUG-135322
Change-Id: I803f4e64c41e9d6dc355f2468233661885aa7f15
Reviewed-by: Eirik Aavitsland <[email protected]>
Diffstat (limited to 'examples/quick/models/threadedfetchmore/threadedfetchmoremodel.cpp')
0 files changed, 0 insertions, 0 deletions