MCPcopy Index your code
hub / github.com/processing/processing / drawImpl

Method drawImpl

core/src/processing/core/PShape.java:1606–1618  ·  view source on GitHub ↗

Draws the SVG document.

(PGraphics g)

Source from the content-addressed store, hash-verified

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

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