MCPcopy Index your code
hub / github.com/benfry/processing4 / drawImpl

Method drawImpl

core/src/processing/core/PShape.java:1663–1675  ·  view source on GitHub ↗

Draws the SVG document.

(PGraphics g)

Source from the content-addressed store, hash-verified

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) {

Callers 2

drawMethod · 0.95
drawMethod · 0.45

Calls 4

drawGroupMethod · 0.95
drawPrimitiveMethod · 0.95
drawGeometryMethod · 0.95
drawPathMethod · 0.95

Tested by

no test coverage detected