thorvg/inc
Hermet Park 39b0f87cb3 api: revise the canvas update() API
Removed the paint parameter previously used to forcibly
update a single paint.

This behavior was unsafe in ThorVG, as a single paint
object may be connected to others through the scene graph.

Now, the canvas engine is responsible for properly updating
all damaged paints as needed, allowing the user to simply
call update() in any case.

API Modifications:

C++ API:
 * Result Canvas::update(Paint* paint) -> Result Canvas::update()

CAPI:
 - tvg_canvas_update_paint()

Issue: https://github.com/thorvg/thorvg/issues/3116
2025-06-16 10:43:13 +09:00
..
meson.build build: Override dependency for use as subproject 2024-08-19 17:42:06 +09:00
thorvg.h api: revise the canvas update() API 2025-06-16 10:43:13 +09:00