mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-14 20:14:37 +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)
|
void shapeReset(SwShape* shape)
|
||||||
{
|
{
|
||||||
rleReset(shape->rle);
|
rleReset(shape->rle);
|
||||||
|
rleReset(shape->strokeRle);
|
||||||
shape->rect = false;
|
shape->rect = false;
|
||||||
_initBBox(shape->bbox);
|
_initBBox(shape->bbox);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue