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

Function mapObj_setSymbolSet

mapscript/php/mapscript_i.c:293–306  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

291}
292
293int mapObj_setSymbolSet(mapObj *self,
294 char *szFileName)
295{
296 msFreeSymbolSet(&self->symbolset);
297 msInitSymbolSet(&self->symbolset);
298
299 // Set symbolset filename
300 self->symbolset.filename = strdup(szFileName);
301
302 // Symbolset shares same fontset as main mapfile
303 self->symbolset.fontset = &(self->fontset);
304
305 return msLoadSymbolSet(&self->symbolset, self);
306}
307
308int mapObj_getNumSymbols(mapObj *self)
309{

Callers 1

map.cFile · 0.85

Calls 4

msFreeSymbolSetFunction · 0.85
msInitSymbolSetFunction · 0.85
strdupFunction · 0.85
msLoadSymbolSetFunction · 0.85

Tested by

no test coverage detected