MCPcopy Create free account
hub / github.com/davidgiven/fluxengine / find_glyph

Method find_glyph

dep/agg/include/agg_font_cache_manager.h:74–82  ·  view source on GitHub ↗

--------------------------------------------------------------------

Source from the content-addressed store, hash-verified

72
73 //--------------------------------------------------------------------
74 const glyph_cache* find_glyph(unsigned glyph_code) const
75 {
76 unsigned msb = (glyph_code >> 8) & 0xFF;
77 if (m_glyphs[msb])
78 {
79 return m_glyphs[msb][glyph_code & 0xFF];
80 }
81 return 0;
82 }
83
84 //--------------------------------------------------------------------
85 glyph_cache* cache_glyph(unsigned glyph_code,

Callers 2

find_glyphMethod · 0.45
glyphMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected