MCPcopy Index your code
hub / github.com/MapServer/MapServer / msGetNumGlyphs

Function msGetNumGlyphs

mapstring.c:1945–1953  ·  view source on GitHub ↗

** Returns the number of glyphs in string */

Source from the content-addressed store, hash-verified

1943** Returns the number of glyphs in string
1944*/
1945int msGetNumGlyphs(const char *in_ptr)
1946{
1947 int numchars=0;
1948
1949 while( msGetNextGlyph(&in_ptr, NULL) != -1 )
1950 numchars++;
1951
1952 return numchars;
1953}
1954
1955static int cmp_entities(const void *e1, const void *e2) {
1956 struct mapentities_s *en1 = (struct mapentities_s *) e1;

Callers 6

msGetTruetypeTextBBoxKmlFunction · 0.85
msWrapTextFunction · 0.85
getTruetypeTextBBoxCairoFunction · 0.85
renderGlyphsCairoFunction · 0.85
agg2GetTruetypeTextBBoxFunction · 0.85

Calls 1

msGetNextGlyphFunction · 0.85

Tested by

no test coverage detected