mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-08 13:43:43 +00:00
![]() 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> |
||
---|---|---|
.. | ||
logo.svg | ||
rawimage_200x300.raw | ||
rawimage_250x375.raw | ||
tag.svg | ||
tag.tvg | ||
test.jpg | ||
test.json | ||
test.png | ||
test.tvg | ||
test.webp | ||
test2.json | ||
test3.json | ||
test4.json | ||
test5.json | ||
test6.json | ||
test7.json | ||
test8.json | ||
test9.json | ||
tiger.svg |