Closed theashraf closed 2 months ago
Latest commit: afcaeee2b4ea628fa0e6bae0309fc64af87dce79
Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.
Click here to learn what changesets are, and how to add one.
Click here if you're a maintainer who wants to add a changeset to this PR
This pull request introduces a new feature to expose the original size of an animation using the
tvg_picture_get_size
function from the ThorVG C API. The retrieved animation size information is then stored in theLottieRenderer
for future queries.Changes
0.1.22
.animationSize
function binding toDotLottiePlayer
.animation_size
function to theDotLottiePlayer
interface.animation_size
function to theDotLottiePlayer
interface.animation_size
method to return the width and height of the loaded animation.picture_width
andpicture_height
fields toLottieRenderer
and initialized them in theload
method.animationSize
method.Usage
fix #175