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

Method AreGlyphsReady

libs/drape/glyph_manager.cpp:550–561  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

548 }
549
550 bool GlyphManager::AreGlyphsReady(TGlyphs const & glyphs) const
551 {
552 for (auto [fontIndex, glyphId] : glyphs)
553 {
554 ASSERT_NOT_EQUAL(fontIndex, kInvalidFont, ());
555
556 if (!m_impl->m_fonts[fontIndex]->IsGlyphReady(glyphId))
557 return false;
558 }
559
560 return true;
561 }
562
563 // TODO(AB): Check and support invalid glyphs.
564 GlyphImage GlyphManager::GetGlyphImage(GlyphFontAndId key, int pixelHeight, bool sdf) const

Callers 2

UpdateMethod · 0.45
UpdateMethod · 0.45

Calls 1

IsGlyphReadyMethod · 0.80

Tested by

no test coverage detected