MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / refresh

Method refresh

src/Core/Graphics/Canvas.cpp:117–127  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

115 }
116
117 void Text::refresh()
118 {
119 shape.clear();
120 for (auto text : texts)
121 {
122 if (!text.string.empty())
123 {
124 shape.append(text);
125 }
126 }
127 }
128
129 Graphics::Text& Text::currentText()
130 {

Callers

nothing calls this directly

Calls 3

clearMethod · 0.45
emptyMethod · 0.45
appendMethod · 0.45

Tested by

no test coverage detected