thorvg/test/capi
Sergii Liebodkin 548962f5f8 apis/engines: Revise the clear() buffer behavior.
ThorVG has offered an option to clear the buffer since version 1.0.
This is essential when users utilize the canvas target buffer
with the main render target. They share the buffer
and need to draw contents onto the existing contents.

API:
Result Canvas::clear(bool free = true)
-> Result Canvas::clear(bool paints = true, bool buffer = true)

Tvg_Result tvg_canvas_clear(Tvg_Canvas* canvas, bool free);
-> Tvg_Result tvg_canvas_clear(Tvg_Canvas* canvas, bool paints, bool buffer);

Issue: https://github.com/thorvg/thorvg/issues/1779

Co-Authored-By: Hermet Park <hermet@lottiefiles.com>
2023-11-20 18:23:00 +09:00
..
capiAnimation.cpp animation/lottie: updated the frame count unit. 2023-10-24 11:49:57 +09:00
capiFill.cpp test: fix broken plugin support. 2023-04-06 19:47:10 +09:00
capiInitializer.cpp test: fix broken plugin support. 2023-04-06 19:47:10 +09:00
capiLinearGradient.cpp test_capi: Add missing *_del api 2023-05-10 21:05:26 +09:00
capiMain.cpp tests capi: revise the show-case & infrastructure. 2021-06-12 02:11:01 +09:00
capiPaint.cpp test/capi: update unit tests 2023-09-25 21:33:23 +09:00
capiPicture.cpp picture: added ability to support premultiplied for picture raw loader 2023-11-08 10:46:23 +09:00
capiRadialGradient.cpp tests: capi identifier tests added 2023-05-04 09:58:09 +09:00
capiSavers.cpp test: added gif save test 2023-11-17 20:44:53 +09:00
capiScene.cpp common canvas/scene: introduce paints() api that returns the list of the paints. 2023-06-09 10:54:03 +09:00
capiShape.cpp common: stroke dash offset support with new apis. 2023-10-30 11:47:51 +09:00
capiSwCanvas.cpp apis/engines: Revise the clear() buffer behavior. 2023-11-20 18:23:00 +09:00
meson.build test: enhanced the unit-test coverage 2023-09-26 10:48:33 +09:00