Draws the SVG document.
(PGraphics g)
| 1661 | * Draws the SVG document. |
| 1662 | */ |
| 1663 | protected void drawImpl(PGraphics g) { |
| 1664 | if (family == GROUP) { |
| 1665 | drawGroup(g); |
| 1666 | } else if (family == PRIMITIVE) { |
| 1667 | drawPrimitive(g); |
| 1668 | } else if (family == GEOMETRY) { |
| 1669 | // Not same as path: `kind` matters. |
| 1670 | // drawPath(g); |
| 1671 | drawGeometry(g); |
| 1672 | } else if (family == PATH) { |
| 1673 | drawPath(g); |
| 1674 | } |
| 1675 | } |
| 1676 | |
| 1677 | |
| 1678 | protected void drawGroup(PGraphics g) { |
no test coverage detected