mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-07 21:23:32 +00:00
![]() The path direction of shapes is now functional for path trimming. Replace the main logic with Lottie's by default to align the spec, migrate the original logic to svg loader side. This revision helps to reduce the binary size by 2–3 KB for lottie loader. API Modifications: - Result Shape::appendRect(float x, float y, float w, float h, float rx = 0, float ry = 0) -> Result Shape::appendRect(float x, float y, float w, float h, float rx = 0, float ry = 0, bool cw = true) - Result Shape::appendCircle(float cx, float cy, float rx, float ry) -> Result Shape::appendCircle(float cx, float cy, float rx, float ry, bool cw = true) - TVG_API Tvg_Result tvg_shape_append_circle(Tvg_Paint* paint, float cx, float cy, float rx, float ry) -> TVG_API Tvg_Result tvg_shape_append_circle(Tvg_Paint* paint, float cx, float cy, float rx, float ry, bool cw) - Tvg_Result tvg_shape_append_rect(Tvg_Paint* paint, float x, float y, float w, float h, float rx, float ry) -> Tvg_Result tvg_shape_append_rect(Tvg_Paint* paint, float x, float y, float w, float h, float rx, float ry, bool cw) issue: https://github.com/thorvg/thorvg/issues/3179 |
||
---|---|---|
.. | ||
meson.build | ||
thorvg.h |