thorvg/examples
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
..
resources example: ++lottie extension 2024-11-26 01:11:03 +09:00
Accessor.cpp api: revise the spec 2024-11-09 12:29:15 +09:00
all.sh infra: move the examples folder outside of the source directory. 2024-04-01 10:52:22 +09:00
AnimateMasking.cpp api: revise the spec 2024-11-09 12:29:15 +09:00
Animation.cpp api: revise the spec 2024-11-09 12:29:15 +09:00
Blending.cpp api: revise the spec 2024-11-09 12:29:15 +09:00
Capi.cpp capi: unified the separate linear and gradient fill APIs 2024-11-10 13:48:25 +09:00
Clipping.cpp api: revise the spec 2024-11-09 12:29:15 +09:00
CustomTransform.cpp api: revise the spec 2024-11-09 12:29:15 +09:00
DataLoad.cpp api: revise the spec 2024-11-09 12:29:15 +09:00
DirectUpdate.cpp api: revise the spec 2024-11-09 12:29:15 +09:00
Duplicate.cpp api: revise the spec 2024-11-09 12:29:15 +09:00
EffectDropShadow.cpp api: revise the spec 2024-11-09 12:29:15 +09:00
EffectGaussianBlur.cpp api: revise the spec 2024-11-09 12:29:15 +09:00
Example.h wg_engine: revision of device creation policy 2024-11-29 18:48:01 +09:00
FillRule.cpp api: revise the spec 2024-11-09 12:29:15 +09:00
FillSpread.cpp api: revise the spec 2024-11-09 12:29:15 +09:00
GifSaver.cpp api: revise the spec 2024-11-09 12:29:15 +09:00
GradientMasking.cpp api: revise the spec 2024-11-09 12:29:15 +09:00
GradientStroke.cpp api: revise the spec 2024-11-09 12:29:15 +09:00
GradientTransform.cpp api: revise the spec 2024-11-09 12:29:15 +09:00
ImageRotation.cpp api: revise the spec 2024-11-09 12:29:15 +09:00
ImageScaleDown.cpp api: revise the spec 2024-11-09 12:29:15 +09:00
ImageScaleUp.cpp api: revise the spec 2024-11-09 12:29:15 +09:00
Interaction.cpp api: revise the spec 2024-11-09 12:29:15 +09:00
InvLumaMasking.cpp api: revise the spec 2024-11-09 12:29:15 +09:00
InvMasking.cpp api: revise the spec 2024-11-09 12:29:15 +09:00
LinearGradient.cpp api: revise the spec 2024-11-09 12:29:15 +09:00
Lottie.cpp api: revise the spec 2024-11-09 12:29:15 +09:00
LottieExpressions.cpp api: revise the spec 2024-11-09 12:29:15 +09:00
LottieExtension.cpp example: ++lottie extension 2024-11-26 01:11:03 +09:00
LumaMasking.cpp api: revise the spec 2024-11-09 12:29:15 +09:00
Masking.cpp api: revise the spec 2024-11-09 12:29:15 +09:00
MaskingMethods.cpp api: revise the spec 2024-11-09 12:29:15 +09:00
meson.build wg_engineL fix test build scripts and ambiguous declarations 2024-11-12 22:49:17 +09:00
MultiCanvas.cpp renderer: reserved colorspace option in target api 2024-11-26 12:04:30 +09:00
Opacity.cpp api: revise the spec 2024-11-09 12:29:15 +09:00
Path.cpp api: revise the spec 2024-11-09 12:29:15 +09:00
Performance.cpp api: revise the spec 2024-11-09 12:29:15 +09:00
PictureJpg.cpp api: revise the spec 2024-11-09 12:29:15 +09:00
PicturePng.cpp api: revise the spec 2024-11-09 12:29:15 +09:00
PictureRaw.cpp api: revise the spec 2024-11-09 12:29:15 +09:00
PictureSvg.cpp api: revise the spec 2024-11-09 12:29:15 +09:00
PictureWebp.cpp api: revise the spec 2024-11-09 12:29:15 +09:00
RadialGradient.cpp api: revise the spec 2024-11-09 12:29:15 +09:00
Retaining.cpp api: 1.0 specification revision 2024-12-04 11:44:58 +09:00
Scene.cpp api: revise the spec 2024-11-09 12:29:15 +09:00
SceneBlending.cpp api: revise the spec 2024-11-09 12:29:15 +09:00
SceneTransform.cpp api: revise the spec 2024-11-09 12:29:15 +09:00
Shapes.cpp api: revise the spec 2024-11-09 12:29:15 +09:00
Stroke.cpp api: revise the spec 2024-11-09 12:29:15 +09:00
StrokeLine.cpp api: revise the spec 2024-11-09 12:29:15 +09:00
StrokeMiterlimit.cpp api: revise the spec 2024-11-09 12:29:15 +09:00
StrokeTrim.cpp api: revise the spec 2024-11-09 12:29:15 +09:00
Svg.cpp api: revise the spec 2024-11-09 12:29:15 +09:00
Text.cpp api: revise the spec 2024-11-09 12:29:15 +09:00
Transform.cpp api: revise the spec 2024-11-09 12:29:15 +09:00
Update.cpp api: revise the spec 2024-11-09 12:29:15 +09:00
Viewport.cpp api: revise the spec 2024-11-09 12:29:15 +09:00