| 62 | |
| 63 | |
| 64 | int Svg::getNumPaths() { |
| 65 | if (!handle) |
| 66 | return 0; |
| 67 | int count = 0; |
| 68 | for (NSVGshape* shape = handle->shapes; shape; shape = shape->next) { |
| 69 | for (NSVGpath* path = shape->paths; path; path = path->next) { |
| 70 | count++; |
| 71 | } |
| 72 | } |
| 73 | return count; |
| 74 | } |
| 75 | |
| 76 | |
| 77 | int Svg::getNumPoints() { |
nothing calls this directly
no outgoing calls
no test coverage detected