| 51 | |
| 52 | |
| 53 | int Svg::getNumShapes() { |
| 54 | if (!handle) |
| 55 | return 0; |
| 56 | int count = 0; |
| 57 | for (NSVGshape* shape = handle->shapes; shape; shape = shape->next) { |
| 58 | count++; |
| 59 | } |
| 60 | return count; |
| 61 | } |
| 62 | |
| 63 | |
| 64 | int Svg::getNumPaths() { |
nothing calls this directly
no outgoing calls
no test coverage detected