thorvg/test
Hermet Park 0ebbc614be api: 1.0 specification revision
- Enhanced Scene management to provide users with more control.
- Scenes now support adding specific scenes at defined positions and removing them as needed.
- Ensure safe access to Canvas, Scene paints() by adding const specifiers.
- Removed virtual specifier for the canvas primitive apis.
- Introduced a nested scene in the canvas to remove logic duplication.

C++ API Modification:
- Result Scene::push(Paint* paint)
 -> Result Scene::push(Paint* target, Paint* at = nullptr)
- Result Scene::clear(bool free = true)
 -> Result Scene::remove(Paint* paint = nullptr)
- Result Canvas::push(Paint* paint)
 -> Result Canvas::push(Paint* target, Paint* at = nullptr)
- list<Paint*>& Scene::paints()
 -> const list<Paint*>& Scene::paints() const
- list<Paint*>& Canvas::paints()
 -> const list<Paint*>& Canvas::paints() const

C++ API Addition:
- Result Canvas::remove(Paint* paint = nullptr);

C API Modifications:
- Tvg_Result tvg_scene_clear(Tvg_Paint* scene, bool free)
 -> Tvg_Result tvg_scene_remove(Tvg_Paint* scene, Tvg_Paint* paint)

C API Addition:
- Tvg_Result tvg_scene_push_at(Tvg_Paint* scene, Tvg_Paint* target, Tvg_Paint* at)
- Tvg_Result tvg_canvas_push_at(Tvg_Canvas* canvas, Tvg_Paint* target, Tvg_Paint* at)
- Tvg_Result tvg_canvas_remove(Tvg_Canvas* canvas, Tvg_Paint* paint)

issue: https://github.com/thorvg/thorvg/issues/2957
issue: https://github.com/thorvg/thorvg/issues/1372
2024-12-04 11:44:58 +09:00
..
regression common: fix 178+ spelling errors 2024-07-01 21:58:46 +09:00
resources lottie: support default slot overriding 2024-11-09 17:28:52 +09:00
catch.hpp test: upgrade catch2 2023-01-30 13:28:44 +09:00
meson.build tests: remove capi tests 2024-11-21 23:39:17 +09:00
testAccessor.cpp api: revise the spec 2024-11-09 12:29:15 +09:00
testAnimation.cpp api: revise the spec 2024-11-09 12:29:15 +09:00
testFill.cpp api: revise the spec 2024-11-09 12:29:15 +09:00
testInitializer.cpp tests: version api tests 2024-07-18 12:47:58 +09:00
testLottie.cpp api: revise the spec 2024-11-09 12:29:15 +09:00
testMain.cpp tests: introduce catch2 unit tests infrastructure. 2021-06-04 16:46:34 +09:00
testPaint.cpp api: 1.0 specification revision 2024-12-04 11:44:58 +09:00
testPicture.cpp api: revise the spec 2024-11-09 12:29:15 +09:00
testSavers.cpp api: revise the spec 2024-11-09 12:29:15 +09:00
testScene.cpp api: 1.0 specification revision 2024-12-04 11:44:58 +09:00
testShape.cpp api: revise the spec 2024-11-09 12:29:15 +09:00
testSwCanvas.cpp api: revise the spec 2024-11-09 12:29:15 +09:00
testSwEngine.cpp api: revise the spec 2024-11-09 12:29:15 +09:00
testText.cpp api: revise the spec 2024-11-09 12:29:15 +09:00