MCPcopy Create free account
hub / github.com/comaps/comaps / GetGlyphs

Method GetGlyphs

libs/drape_frontend/gui/gui_text.cpp:305–313  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

303}
304
305dp::TGlyphs MutableLabel::GetGlyphs() const
306{
307 dp::TGlyphs glyphs;
308 glyphs.reserve(m_shapedText.m_glyphs.size());
309
310 for (auto const & glyph : m_shapedText.m_glyphs)
311 glyphs.emplace_back(glyph.m_key);
312 return glyphs;
313}
314
315void MutableLabel::Precache(PrecacheParams const & params, PrecacheResult & result, ref_ptr<dp::TextureManager> mng)
316{

Callers 1

UpdateMethod · 0.45

Calls 3

reserveMethod · 0.45
sizeMethod · 0.45
emplace_backMethod · 0.45

Tested by

no test coverage detected