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

Method GetGlyphImage

libs/drape/glyph_manager.cpp:564–567  ·  view source on GitHub ↗

TODO(AB): Check and support invalid glyphs.

Source from the content-addressed store, hash-verified

562
563 // TODO(AB): Check and support invalid glyphs.
564 GlyphImage GlyphManager::GetGlyphImage(GlyphFontAndId key, int pixelHeight, bool sdf) const
565 {
566 return m_impl->m_fonts[key.m_fontIndex]->GetGlyphImage(key.m_glyphId, pixelHeight, sdf);
567 }
568
569 // This method is NOT multithreading-safe.
570 text::TextMetrics GlyphManager::ShapeText(std::string_view utf8, int fontPixelHeight, hb_language_t const textLang)

Callers 2

MapResourceMethod · 0.45
RenderGlyphsMethod · 0.45

Calls

no outgoing calls

Tested by 1

RenderGlyphsMethod · 0.36