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

Method parse_attr

renderers/agg/src/agg_svg_parser.cpp:366–380  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

364
365 //------------------------------------------------------------------------
366 void parser::parse_attr(const char** attr)
367 {
368 int i;
369 for(i = 0; attr[i]; i += 2)
370 {
371 if(strcmp(attr[i], "style") == 0)
372 {
373 parse_style(attr[i + 1]);
374 }
375 else
376 {
377 parse_attr(attr[i], attr[i + 1]);
378 }
379 }
380 }
381
382 //-------------------------------------------------------------
383 void parser::parse_path(const char** attr)

Callers 1

start_elementMethod · 0.95

Calls 12

parse_colorFunction · 0.85
parse_doubleFunction · 0.85
fill_noneMethod · 0.80
fillMethod · 0.80
fill_opacityMethod · 0.80
stroke_noneMethod · 0.80
strokeMethod · 0.80
stroke_widthMethod · 0.80
stroke_opacityMethod · 0.80
line_capMethod · 0.45
line_joinMethod · 0.45
miter_limitMethod · 0.45

Tested by

no test coverage detected