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

Method cache_glyph

dep/agg/include/agg_font_cache_manager.h:194–213  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

192
193 //--------------------------------------------------------------------
194 glyph_cache* cache_glyph(unsigned glyph_code,
195 unsigned glyph_index,
196 unsigned data_size,
197 glyph_data_type data_type,
198 const rect_i& bounds,
199 double advance_x,
200 double advance_y)
201 {
202 if (m_cur_font)
203 {
204 return m_cur_font->cache_glyph(glyph_code,
205 glyph_index,
206 data_size,
207 data_type,
208 bounds,
209 advance_x,
210 advance_y);
211 }
212 return 0;
213 }
214
215 //--------------------------------------------------------------------
216 int find_font(const char* font_signature)

Callers

nothing calls this directly

Calls 1

cache_glyphMethod · 0.45

Tested by

no test coverage detected