mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-08 05:33:36 +00:00
![]() 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 |
||
---|---|---|
.. | ||
regression | ||
resources | ||
catch.hpp | ||
meson.build | ||
testAccessor.cpp | ||
testAnimation.cpp | ||
testFill.cpp | ||
testInitializer.cpp | ||
testLottie.cpp | ||
testMain.cpp | ||
testPaint.cpp | ||
testPicture.cpp | ||
testSavers.cpp | ||
testScene.cpp | ||
testShape.cpp | ||
testSwCanvas.cpp | ||
testSwEngine.cpp | ||
testText.cpp |