thorvg/test
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
..
capi apis/engines: Revise the clear() buffer behavior. 2023-11-20 18:23:00 +09:00
images apis/engines: Revise the clear() buffer behavior. 2023-11-20 18:23:00 +09:00
regression infra: Improve regression finder 2023-05-08 10:38:27 +09:00
catch.hpp test: upgrade catch2 2023-01-30 13:28:44 +09:00
meson.build test: enhanced the unit-test coverage 2023-09-26 10:48:33 +09:00
testAccessor.cpp api: revise the engine initializer for the 1.0 release. 2023-10-30 11:48:02 +09:00
testAnimation.cpp api: revise the engine initializer for the 1.0 release. 2023-10-30 11:48:02 +09:00
testFill.cpp Fix clang compiler warnings in unit tests. 2023-06-07 16:56:30 +09:00
testInitializer.cpp api: revise the engine initializer for the 1.0 release. 2023-10-30 11:48:02 +09:00
testMain.cpp tests: introduce catch2 unit tests infrastructure. 2021-06-04 16:46:34 +09:00
testPaint.cpp tests: bounds test ++ 2023-08-01 14:53:12 +02:00
testPicture.cpp picture: added ability to support premultiplied for picture raw loader 2023-11-08 10:46:23 +09:00
testSavers.cpp test: added gif save test 2023-11-17 20:44:53 +09:00
testScene.cpp api: revise the engine initializer for the 1.0 release. 2023-10-30 11:48:02 +09:00
testShape.cpp common: stroke dash offset support with new apis. 2023-10-30 11:47:51 +09:00
testSwCanvas.cpp api: revise the engine initializer for the 1.0 release. 2023-10-30 11:48:02 +09:00
testSwCanvasBase.cpp apis/engines: Revise the clear() buffer behavior. 2023-11-20 18:23:00 +09:00
testSwEngine.cpp picture: added ability to support premultiplied for picture raw loader 2023-11-08 10:46:23 +09:00