mirror of
https://github.com/thorvg/thorvg.git
synced 2025-07-27 08:36:59 +00:00
sw_engine shape: ++ comment for later optimization
Change-Id: Ie6cd622748b88e2bce0c9d9a79cc4528a95c9c5c
This commit is contained in:
parent
f335779ce5
commit
98edb4112b
1 changed files with 2 additions and 0 deletions
|
@ -245,6 +245,8 @@ void shapeTransformOutline(const Shape& shape, SwShape& sdata, const RenderTrans
|
||||||
|
|
||||||
bool shapeGenRle(const Shape& shape, SwShape& sdata, const SwSize& clip)
|
bool shapeGenRle(const Shape& shape, SwShape& sdata, const SwSize& clip)
|
||||||
{
|
{
|
||||||
|
/* OPTIMIZE ME: We may avoid this bounding box calculation in this stage
|
||||||
|
if this shape has stroke and stroke bbox can be used here... */
|
||||||
if (!_updateBBox(sdata.outline, sdata.bbox)) goto end;
|
if (!_updateBBox(sdata.outline, sdata.bbox)) goto end;
|
||||||
if (!_checkValid(sdata, clip)) goto end;
|
if (!_checkValid(sdata, clip)) goto end;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue