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 examples: replaced the Lenna with free images 2025-06-03 11:26:00 +09:00
Accessor.cpp api: renamed api for consistency 2025-01-13 16:53:14 +09:00
all.sh examples: allow the engine name from the test script 2025-02-25 12:52:13 +09:00
Animation.cpp examples: removed Performance 2025-02-27 22:50:18 +09:00
Blending.cpp examples: revise the blending sample 2025-01-07 12:16:07 +09:00
BoundingBox.cpp examples: ++bounding box 2025-04-10 12:32:06 +09:00
Capi.cpp api: revise engine initialization and termination 2025-04-23 15:46:49 +09:00
Clipping.cpp updated copyright 2025-01-03 14:32:31 +09:00
CustomTransform.cpp examples: changed animatable window size. 2025-05-06 11:02:30 +09:00
DataLoad.cpp updated copyright 2025-01-03 14:32:31 +09:00
DirectUpdate.cpp example: clean up++ 2025-05-06 11:43:47 +09:00
Duplicate.cpp updated copyright 2025-01-03 14:32:31 +09:00
EffectDropShadow.cpp example: fix types of drop shadows effect parameters (int to double) 2025-02-21 00:06:53 +09:00
Example.h gl_engine: dynamic load gl functions 2025-05-08 14:58:13 +09:00
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 updated copyright 2025-01-03 14:32:31 +09:00
GradientTransform.cpp examples: changed animatable window size. 2025-05-06 11:02:30 +09:00
ImageRotation.cpp examples: changed animatable window size. 2025-05-06 11:02:30 +09:00
ImageScaling.cpp api: revise the canvas update() API 2025-06-16 10:43:13 +09:00
LinearGradient.cpp updated copyright 2025-01-03 14:32:31 +09:00
Lottie.cpp common: Support .lot extension 2025-02-27 16:46:30 +09:00
LottieExpressions.cpp examples: Add default font fallback to LottieExpressions demo 2025-03-28 17:02:11 +09:00
LottieExtension.cpp examples/slot: added example for expressions slot overriding 2025-03-10 12:42:12 +09:00
LottieInteraction.cpp examples: added LottieInteraction sample 2025-03-24 12:11:15 +09:00
LottieTweening.cpp examples: added LottieInteraction sample 2025-03-24 12:11:15 +09:00
LumaMasking.cpp examples: unified samples and improved coverages 2025-02-21 17:16:26 +09:00
Masking.cpp examples: unified samples and improved coverages 2025-02-21 17:16:26 +09:00
MaskingMethods.cpp updated copyright 2025-01-03 14:32:31 +09:00
meson.build infra: added opengl_es extra option for explicit selection 2025-05-08 12:00:22 +03:00
MultiCanvas.cpp api: revise engine initialization and termination 2025-04-23 15:46:49 +09:00
Opacity.cpp updated copyright 2025-01-03 14:32:31 +09:00
Path.cpp updated copyright 2025-01-03 14:32:31 +09:00
PictureJpg.cpp updated copyright 2025-01-03 14:32:31 +09:00
PicturePng.cpp examples: replaced the Lenna with free images 2025-06-03 11:26:00 +09:00
PictureRaw.cpp updated copyright 2025-01-03 14:32:31 +09:00
PictureSvg.cpp examples: added a default font for flawless test 2025-02-20 23:16:15 +09:00
PictureWebp.cpp updated copyright 2025-01-03 14:32:31 +09:00
RadialGradient.cpp updated copyright 2025-01-03 14:32:31 +09:00
Retaining.cpp examples: changed animatable window size. 2025-05-06 11:02:30 +09:00
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 updated copyright 2025-01-03 14:32:31 +09:00
StrokeLine.cpp updated copyright 2025-01-03 14:32:31 +09:00
StrokeMiterlimit.cpp updated copyright 2025-01-03 14:32:31 +09:00
Svg.cpp examples: added a default font for flawless test 2025-02-20 23:16:15 +09:00
Text.cpp common: hotfix regression bugs during recent dev 2025-03-20 22:33:36 +09:00
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 examples: changed animatable window size. 2025-05-06 11:02:30 +09:00
Viewport.cpp examples: polished for a sleek initial screen appearance 2025-03-06 19:07:38 +09:00