thorvg/examples
Hermet Park 6761c5c2a0 API: Replace the Canvas::clear() API with Canvas::remove() & draw()
Added a `clear` parameter to Canvas::draw(), allowing users to decide
whether to clear the target buffer before drawing.

To remove the paints from a canvas, please use Canvas::remove()

C++ API Removals:
- Result Canvas::clear(bool paints, bool buffer)

C++ API Modifications:
- Result Canvas::draw()
 -> Result Canvas::draw(bool clear)

C API Removals:
- Tvg_Result tvg_canvas_clear(bool paints, bool buffer)

C API Modifications:
- Tvg_Result tvg_canvas_draw(Tvg_Canvas* canvas)
 -> Tvg_Result tvg_canvas_draw(Tvg_Canvas* canvas, bool clear)

issue: https://github.com/thorvg/thorvg/issues/1372
2024-12-10 11:59:46 +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: Replace the Canvas::clear() API with Canvas::remove() & draw() 2024-12-10 11:59:46 +09:00
Blending.cpp API: Replace the Canvas::clear() API with Canvas::remove() & draw() 2024-12-10 11:59:46 +09:00
Capi.cpp API: Replace the Canvas::clear() API with Canvas::remove() & draw() 2024-12-10 11:59:46 +09:00
Clipping.cpp api: revise the spec 2024-11-09 12:29:15 +09:00
CustomTransform.cpp API: Replace the Canvas::clear() API with Canvas::remove() & draw() 2024-12-10 11:59:46 +09:00
DataLoad.cpp api: revise the spec 2024-11-09 12:29:15 +09:00
DirectUpdate.cpp API: Replace the Canvas::clear() API with Canvas::remove() & draw() 2024-12-10 11:59:46 +09:00
Duplicate.cpp api: revise the spec 2024-11-09 12:29:15 +09:00
EffectDropShadow.cpp API: Replace the Canvas::clear() API with Canvas::remove() & draw() 2024-12-10 11:59:46 +09:00
EffectGaussianBlur.cpp API: Replace the Canvas::clear() API with Canvas::remove() & draw() 2024-12-10 11:59:46 +09:00
Example.h API: Replace the Canvas::clear() API with Canvas::remove() & draw() 2024-12-10 11:59:46 +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: Replace the Canvas::clear() API with Canvas::remove() & draw() 2024-12-10 11:59:46 +09:00
ImageRotation.cpp API: Replace the Canvas::clear() API with Canvas::remove() & draw() 2024-12-10 11:59:46 +09:00
ImageScaleDown.cpp API: Replace the Canvas::clear() API with Canvas::remove() & draw() 2024-12-10 11:59:46 +09:00
ImageScaleUp.cpp API: Replace the Canvas::clear() API with Canvas::remove() & draw() 2024-12-10 11:59:46 +09:00
Interaction.cpp API: Replace the Canvas::clear() API with Canvas::remove() & draw() 2024-12-10 11:59:46 +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: Replace the Canvas::clear() API with Canvas::remove() & draw() 2024-12-10 11:59:46 +09:00
LottieExpressions.cpp API: Replace the Canvas::clear() API with Canvas::remove() & draw() 2024-12-10 11:59:46 +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: Replace the Canvas::clear() API with Canvas::remove() & draw() 2024-12-10 11:59:46 +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: Replace the Canvas::clear() API with Canvas::remove() & draw() 2024-12-10 11:59:46 +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: Replace the Canvas::clear() API with Canvas::remove() & draw() 2024-12-10 11:59:46 +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: Replace the Canvas::clear() API with Canvas::remove() & draw() 2024-12-10 11:59:46 +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: Replace the Canvas::clear() API with Canvas::remove() & draw() 2024-12-10 11:59:46 +09:00
Text.cpp api: revise the spec 2024-11-09 12:29:15 +09:00
Transform.cpp API: Replace the Canvas::clear() API with Canvas::remove() & draw() 2024-12-10 11:59:46 +09:00
Update.cpp API: Replace the Canvas::clear() API with Canvas::remove() & draw() 2024-12-10 11:59:46 +09:00
Viewport.cpp API: Replace the Canvas::clear() API with Canvas::remove() & draw() 2024-12-10 11:59:46 +09:00