Add some enablers for accessing animations from VectorImage


This just introduces some helper functions to avoid duplicating
the code.

Change-Id: If5ffe8419c5d9150520dd8d99624944f02c7fa44
Reviewed-by: Hatem ElKharashy <hatem.elkharashy@qt.io>
commita7facae3161352f5f39a1392710e598fec038276
parent2904c529af590ac891c5ed7785b22620a0e2a331
authorEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
committerEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
commit timeTue, 3 Dec 2024 14:30:29 +0000