mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-13 19:44:28 +00:00
shape: Fixed reset api.
Added stroke's RLE reset in shape reset function.
This commit is contained in:
parent
3dfc3c4943
commit
ba2bd2383d
1 changed files with 1 additions and 0 deletions
|
@ -465,6 +465,7 @@ void shapeDelOutline(SwShape* shape, uint32_t tid)
|
|||
void shapeReset(SwShape* shape)
|
||||
{
|
||||
rleReset(shape->rle);
|
||||
rleReset(shape->strokeRle);
|
||||
shape->rect = false;
|
||||
_initBBox(shape->bbox);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue