mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-08 05:33:36 +00:00
![]() A single animation might have a desinated markers with naming: 0 ~ 0.5 (sector A), 0.5 ~ 1.0 (sector B). Selecting one of them using a marker name(sector A) and could play only that part with animation controllers. usage: - `animation->segment("sectionA") // Named segment(Marker)` - `auto cnt = animation->markerCnt()` - `auto name = animation->markers(index)` - `animation->segment(0, 0.5) // Segment` - `animation->segment(&begin, &end)` Co-authored-by: Jinny You <jinny@lottiefiles.com> |
||
---|---|---|
.. | ||
meson.build | ||
thorvg.h |