| 389 | } |
| 390 | |
| 391 | static double xmlGetDouble(const char *start, const char *end) { |
| 392 | double x = 0; |
| 393 | std::string decodedStr(xmlDecode(start, end)); |
| 394 | const char *strPtr = decodedStr.c_str(); |
| 395 | readDouble(x, strPtr); |
| 396 | return x; |
| 397 | } |
| 398 | |
| 399 | #define SVG_NAME_IS(x) matchName(nameStart, nameEnd, x) |
| 400 | #define SVG_DEC_VAL() xmlDecode(valueStart, valueEnd) |
no test coverage detected