thorvg/tools/svg2png
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
..
lodepng.cpp common: fix 178+ spelling errors 2024-07-01 21:58:46 +09:00
lodepng.h common: fix 178+ spelling errors 2024-07-01 21:58:46 +09:00
meson.build infra: relocate the tools folder. 2024-06-13 17:52:14 +09:00
svg2png.cpp API: Replace the Canvas::clear() API with Canvas::remove() & draw() 2024-12-10 11:59:46 +09:00