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

Method end_element

renderers/agg/src/agg_svg_parser.cpp:319–342  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

317
318 //------------------------------------------------------------------------
319 void parser::end_element(void* data, const char* el)
320 {
321 parser& self = *(parser*)data;
322
323 if(strcmp(el, "title") == 0)
324 {
325 self.m_title_flag = false;
326 }
327 else
328 if(strcmp(el, "g") == 0)
329 {
330 self.m_path.pop_attr();
331 }
332 else
333 if(strcmp(el, "path") == 0)
334 {
335 self.m_path_flag = false;
336 }
337 //else
338 //if(strcmp(el, "<OTHER_ELEMENTS>") == 0)
339 //{
340 //}
341 // . . .
342 }
343
344
345 //------------------------------------------------------------------------

Callers

nothing calls this directly

Calls 1

pop_attrMethod · 0.80

Tested by

no test coverage detected