MCPcopy Create free account
hub / github.com/c3d/tao3D / Clear

Method Clear

tao/glyph_cache.cpp:185–196  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

183
184
185void GlyphCache::Clear()
186// ----------------------------------------------------------------------------
187// Clear the glyph cache entirely
188// ----------------------------------------------------------------------------
189{
190 for (FontMap::iterator it = cache.begin(); it != cache.end(); it++)
191 delete (*it).second;
192 cache.clear();
193 packer.Clear();
194 image.fill(0);
195 lastFont = NULL;
196}
197
198
199void GlyphCache::CheckActiveLayout(Layout *where)

Callers

nothing calls this directly

Calls 3

beginMethod · 0.45
endMethod · 0.45
clearMethod · 0.45

Tested by

no test coverage detected