thorvg/examples
Hermet Park 39b0f87cb3 api: revise the canvas update() API
Removed the paint parameter previously used to forcibly
update a single paint.

This behavior was unsafe in ThorVG, as a single paint
object may be connected to others through the scene graph.

Now, the canvas engine is responsible for properly updating
all damaged paints as needed, allowing the user to simply
call update() in any case.

API Modifications:

C++ API:
 * Result Canvas::update(Paint* paint) -> Result Canvas::update()

CAPI:
 - tvg_canvas_update_paint()

Issue: https://github.com/thorvg/thorvg/issues/3116
2025-06-16 10:43:13 +09:00
..
resources
Accessor.cpp
all.sh
Animation.cpp
Blending.cpp examples: revise the blending sample 2025-01-07 12:16:07 +09:00
BoundingBox.cpp
Capi.cpp
Clipping.cpp
CustomTransform.cpp examples: changed animatable window size. 2025-05-06 11:02:30 +09:00
DataLoad.cpp
DirectUpdate.cpp example: clean up++ 2025-05-06 11:43:47 +09:00
Duplicate.cpp
EffectDropShadow.cpp example: fix types of drop shadows effect parameters (int to double) 2025-02-21 00:06:53 +09:00
Example.h
FillRule.cpp updated copyright 2025-01-03 14:32:31 +09:00
FillSpread.cpp updated copyright 2025-01-03 14:32:31 +09:00
GifSaver.cpp examples: updated gifsaver 2025-02-27 23:32:48 +09:00
GradientMasking.cpp updated copyright 2025-01-03 14:32:31 +09:00
GradientStroke.cpp
GradientTransform.cpp
ImageRotation.cpp
ImageScaling.cpp
LinearGradient.cpp updated copyright 2025-01-03 14:32:31 +09:00
Lottie.cpp
LottieExpressions.cpp
LottieExtension.cpp
LottieInteraction.cpp
LottieTweening.cpp
LumaMasking.cpp examples: unified samples and improved coverages 2025-02-21 17:16:26 +09:00
Masking.cpp
MaskingMethods.cpp
meson.build
MultiCanvas.cpp
Opacity.cpp
Path.cpp
PictureJpg.cpp
PicturePng.cpp
PictureRaw.cpp
PictureSvg.cpp
PictureWebp.cpp
RadialGradient.cpp
Retaining.cpp
Scene.cpp updated copyright 2025-01-03 14:32:31 +09:00
SceneBlending.cpp updated copyright 2025-01-03 14:32:31 +09:00
SceneEffects.cpp common: fixed double-precision promotion compilation warnings 2025-02-12 20:23:34 +09:00
SceneTransform.cpp examples: changed animatable window size. 2025-05-06 11:02:30 +09:00
Shapes.cpp updated copyright 2025-01-03 14:32:31 +09:00
Stroke.cpp
StrokeLine.cpp updated copyright 2025-01-03 14:32:31 +09:00
StrokeMiterlimit.cpp
Svg.cpp examples: added a default font for flawless test 2025-02-20 23:16:15 +09:00
Text.cpp
Transform.cpp examples: changed animatable window size. 2025-05-06 11:02:30 +09:00
TrimPath.cpp examples: renamed StrokeTrim -> TrimPath 2025-02-25 12:46:54 +09:00
Update.cpp
Viewport.cpp