thorvg/test/capi
Hermet Park 6ef1986fe1 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-09 11:33:38 +09:00
..
capiAnimation.cpp test: fix margin value 2024-06-24 14:11:54 +09:00
capiFill.cpp updated copyright date (#1866) 2024-01-02 20:34:12 +09:00
capiInitializer.cpp updated copyright date (#1866) 2024-01-02 20:34:12 +09:00
capiLinearGradient.cpp updated copyright date (#1866) 2024-01-02 20:34:12 +09:00
capiLottie.cpp test/lottie: added the slot resetting in animated property case 2024-06-24 14:18:59 +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-09 11:33:38 +09:00
capiPicture.cpp updated copyright date (#1866) 2024-01-02 20:34:12 +09:00
capiRadialGradient.cpp updated copyright date (#1866) 2024-01-02 20:34:12 +09:00
capiSavers.cpp test/capi: --compiler warning on MSVC 2024-06-27 14:44:39 +09:00
capiScene.cpp updated copyright date (#1866) 2024-01-02 20:34:12 +09:00
capiShape.cpp test: resolve compiler warnings on msvc. 2024-06-24 14:43:25 +09:00
capiSwCanvas.cpp updated copyright date (#1866) 2024-01-02 20:34:12 +09:00
capiText.cpp tests: ++coverage 2024-06-27 14:42:27 +09:00
meson.build test: capi tests updated by text apis 2024-06-24 14:55:15 +09:00