Draws the SVG document.
(PGraphics g)
| 1604 | * Draws the SVG document. |
| 1605 | */ |
| 1606 | protected void drawImpl(PGraphics g) { |
| 1607 | if (family == GROUP) { |
| 1608 | drawGroup(g); |
| 1609 | } else if (family == PRIMITIVE) { |
| 1610 | drawPrimitive(g); |
| 1611 | } else if (family == GEOMETRY) { |
| 1612 | // Not same as path: `kind` matters. |
| 1613 | // drawPath(g); |
| 1614 | drawGeometry(g); |
| 1615 | } else if (family == PATH) { |
| 1616 | drawPath(g); |
| 1617 | } |
| 1618 | } |
| 1619 | |
| 1620 | |
| 1621 | protected void drawGroup(PGraphics g) { |
no test coverage detected