mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-08 13:43:43 +00:00
![]() 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. |
||
---|---|---|
.. | ||
capi | ||
regression | ||
resources | ||
catch.hpp | ||
meson.build | ||
testAccessor.cpp | ||
testAnimation.cpp | ||
testFill.cpp | ||
testInitializer.cpp | ||
testLottie.cpp | ||
testMain.cpp | ||
testPaint.cpp | ||
testPicture.cpp | ||
testSavers.cpp | ||
testScene.cpp | ||
testShape.cpp | ||
testSwCanvas.cpp | ||
testSwEngine.cpp | ||
testText.cpp |