mirror of
https://github.com/thorvg/thorvg.git
synced 2025-07-27 08:36:59 +00:00
common shape: add an internal method to forcibly update the properties.
This internal access assists in performing direct property updates among the engine's internal objects.
This commit is contained in:
parent
192d29fa8a
commit
055daed3f3
1 changed files with 5 additions and 0 deletions
|
@ -303,6 +303,11 @@ struct Shape::Impl
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void update(RenderUpdateFlag flag)
|
||||||
|
{
|
||||||
|
this->flag |= flag;
|
||||||
|
}
|
||||||
|
|
||||||
Paint* duplicate()
|
Paint* duplicate()
|
||||||
{
|
{
|
||||||
auto ret = Shape::gen();
|
auto ret = Shape::gen();
|
||||||
|
|
Loading…
Add table
Reference in a new issue