mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-08 13:43:43 +00:00
![]() Unify the Path commands & pts getters. C++ API modiciation: - uint32_t Shape::pathCommands(const PathCommand** cmds) const - uint32_t Shape::pathCoords(const PathCommand** cmds) const -> Result Shape::path(const PathCommand** cmds, uint32_t* cmdsCnt, const Point** pts, uint32_t* ptsCnt) C API modification: - Tvg_Result tvg_shape_get_path_coords(const Tvg_Paint* paint, const Tvg_Point** pts, uint32_t* cnt) - Tvg_Result tvg_shape_get_path_commands(const Tvg_Paint* paint, const Tvg_Path_Commands** cmds, uint32_t* cnt) -> Tvg_Result tvg_shape_get_path(const Tvg_Paint* paint, const Tvg_Path_Command** cmds, uint32_t* cmdsCnt, const Tvg_Point** pts, uint32_t* ptsCnt) issue: https://github.com/thorvg/thorvg/issues/3116 |
||
---|---|---|
.. | ||
meson.build | ||
thorvg.h |