thorvg/test/capi
Hermet Park 43c87b4eb5 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-08-07 12:02:22 +09:00
..
capiAnimation.cpp API: revise the APIs. 2024-07-05 21:25:58 +09:00
capiFill.cpp updated copyright date (#1866) 2023-12-28 10:43:25 +09:00
capiInitializer.cpp tests: version api tests 2024-07-18 12:47:58 +09:00
capiLinearGradient.cpp API: revise the APIs. 2024-07-05 21:25:58 +09:00
capiLottie.cpp API: revise the APIs. 2024-07-05 21:25:58 +09:00
capiMain.cpp tests capi: revise the show-case & infrastructure. 2021-06-12 02:11:01 +09:00
capiPaint.cpp renderer/paint: revise the Paint::bounds() behavior 2024-08-07 12:02:22 +09:00
capiPicture.cpp API: revise the APIs. 2024-07-05 21:25:58 +09:00
capiRadialGradient.cpp API: revise the APIs. 2024-07-05 21:25:58 +09:00
capiSavers.cpp test/capi: --compiler warning on MSVC 2024-06-27 14:43:53 +09:00
capiScene.cpp API: revise the APIs. 2024-07-05 21:25:58 +09:00
capiShape.cpp API: revise the APIs. 2024-07-05 21:25:58 +09:00
capiSwCanvas.cpp renderer/canvas: ++exceptional handling. 2024-06-24 01:29:57 +09:00
capiText.cpp API: revise the APIs. 2024-07-05 21:25:58 +09:00
meson.build test: capi tests updated by text apis 2024-06-18 10:50:53 +09:00