Hermet Park
|
67098793f0
|
renderer: revise the paint bounding box api
C++ API Modificaiton:
- Result Paint::bounds(float* x, float* y, float* w, float* h, bool transform = false) const
-> Result Paint::bounds(float* x, float* y, float* w, float* h) const
C++ API Addition:
- Result Paint::bounds(Point* pt4) const
C API Modification:
- Tvg_Result tvg_paint_get_bounds(const Tvg_Paint* paint, float* x, float* y, float* w, float* h, bool transformed);
-> Tvg_Result tvg_paint_get_aabb(const Tvg_Paint* paint, float* x, float* y, float* w, float* h);
C API Addition:
- Tvg_Result tvg_paint_get_obb(const Tvg_Paint* paint, Tvg_Point* pt4);
issue: https://github.com/thorvg/thorvg/issues/3290
|
2025-03-05 14:46:55 +09:00 |
|