thorvg / thorvg

Thor Vector Graphics is a lightweight portable library used for drawing vector-based scenes and animations including SVG and Lottie. It can be freely utilized across various software platforms and applications to visualize graphical contents.

Home Page:https://www.thorvg.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

lottie: support "skew" property

hermet opened this issue · comments

ThorVG is missing support for these two properties:
sk: Skew amount as an angle in degrees
sa: Direction at which skew is applied, in degrees (0 skews along the X axis, 90 along the Y axis)

Please refer: https://lottiefiles.github.io/lottie-docs/concepts/#transform

Entry points to implement:

LottieTransform* LottieParser::parseTransform(bool ddd)  //tvgLottieParser.cpp
bool _updateTransform(LottieTransform* transform, float frameNo, bool autoOrient, Matrix& matrix, uint8_t& opacity, LottieExpressions* exps) //tvgLottieBuilder.cpp
Zrzut ekranu 2024-05-15 o 01 42 00

but I didn't find a viewer supporting skew in repeater