mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-08 13:43:43 +00:00
![]() - 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 |
||
---|---|---|
.. | ||
resources | ||
Accessor.cpp | ||
all.sh | ||
AnimateMasking.cpp | ||
Animation.cpp | ||
Blending.cpp | ||
Capi.cpp | ||
Clipping.cpp | ||
CustomTransform.cpp | ||
DataLoad.cpp | ||
DirectUpdate.cpp | ||
Duplicate.cpp | ||
EffectDropShadow.cpp | ||
EffectGaussianBlur.cpp | ||
Example.h | ||
FillRule.cpp | ||
FillSpread.cpp | ||
GifSaver.cpp | ||
GradientMasking.cpp | ||
GradientStroke.cpp | ||
GradientTransform.cpp | ||
ImageRotation.cpp | ||
ImageScaleDown.cpp | ||
ImageScaleUp.cpp | ||
Interaction.cpp | ||
InvLumaMasking.cpp | ||
InvMasking.cpp | ||
LinearGradient.cpp | ||
Lottie.cpp | ||
LottieExpressions.cpp | ||
LottieExtension.cpp | ||
LumaMasking.cpp | ||
Masking.cpp | ||
MaskingMethods.cpp | ||
meson.build | ||
MultiCanvas.cpp | ||
Opacity.cpp | ||
Path.cpp | ||
Performance.cpp | ||
PictureJpg.cpp | ||
PicturePng.cpp | ||
PictureRaw.cpp | ||
PictureSvg.cpp | ||
PictureWebp.cpp | ||
RadialGradient.cpp | ||
Retaining.cpp | ||
Scene.cpp | ||
SceneBlending.cpp | ||
SceneTransform.cpp | ||
Shapes.cpp | ||
Stroke.cpp | ||
StrokeLine.cpp | ||
StrokeMiterlimit.cpp | ||
StrokeTrim.cpp | ||
Svg.cpp | ||
Text.cpp | ||
Transform.cpp | ||
Update.cpp | ||
Viewport.cpp |