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:
Hermet Park 2023-07-17 16:52:20 +09:00 committed by Hermet Park
parent 192d29fa8a
commit 055daed3f3

View file

@ -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();