thorvg/inc
Hermet Park 730b0d23f0 renderer/paint: revise the Paint::bounds() behavior
The current Paint::bounds(transform=true) returns the coordinates
of the paint in its local coordinates after transformation.

However, it did not convert the origin to the world coordinate.

This is problematic when the user wants to determine
the paint's position and size with the origin being the canvas.
Specifically, this matters that when the paint is belonged
to a certain scene.

Now, the bounds() method returns the coordinates
of the paint's bounding box with the corrected world space.
User can figure out the actual boundary within the painted result.

Remark that, this may break the functional behavior compatibility.
2024-09-30 15:48:18 +09:00
..
meson.build infra: install capi header file only its binding option is enabled. 2021-06-03 20:43:39 +09:00
thorvg.h renderer/paint: revise the Paint::bounds() behavior 2024-09-30 15:48:18 +09:00