MCPcopy Create free account
hub / github.com/MapServer/MapServer / initSymbol

Function initSymbol

mapsymbol.c:95–118  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

93}
94
95void initSymbol(symbolObj *s)
96{
97 MS_REFCNT_INIT(s);
98 s->type = MS_SYMBOL_VECTOR;
99 s->transparent = MS_FALSE;
100 s->transparentcolor = 0;
101 s->sizex = 1;
102 s->sizey = 1;
103 s->filled = MS_FALSE;
104 s->numpoints=0;
105 s->renderer=NULL;
106 s->renderer_cache = NULL;
107 s->pixmap_buffer=NULL;
108 s->imagepath = NULL;
109 s->name = NULL;
110 s->inmapfile = MS_FALSE;
111 s->antialias = MS_FALSE;
112 s->font = NULL;
113 s->full_font_path = NULL;
114 s->full_pixmap_path = NULL;
115 s->character = NULL;
116
117 s->svg_text = NULL;
118}
119
120int msFreeSymbol(symbolObj *s) {
121 if(!s) return MS_FAILURE;

Callers 6

msSLDGetMarkSymbolFunction · 0.85
msSLDGetGraphicSymbolFunction · 0.85
msEmbedLegendFunction · 0.85
loadSymbolFunction · 0.85
msGrowSymbolSetFunction · 0.85
msCopySymbolFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected