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

Method GetColorRegion

libs/drape/texture_manager.cpp:490–494  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

488}
489
490void TextureManager::GetColorRegion(Color const & color, ColorRegion & region)
491{
492 CHECK(m_isInitialized, ());
493 GetRegionBase(make_ref(m_colorTexture), region, ColorKey(color));
494}
495
496text::TextMetrics TextureManager::ShapeSingleTextLine(
497 float fontPixelHeight, std::string_view utf8, TGlyphsBuffer * glyphRegions,

Callers 15

FillColorsCacheMethod · 0.80
DrawPathTextPlainMethod · 0.80
DrawPathTextOutlinedMethod · 0.80
DrawMethod · 0.80
DrawMethod · 0.80
CacheAccuracySectorMethod · 0.80
PrepareMethod · 0.80
DrawSubStringPlainMethod · 0.80
DrawSubStringOutlinedMethod · 0.80

Calls 2

make_refFunction · 0.85
ColorKeyClass · 0.85

Tested by

no test coverage detected