MCPcopy Create free account
hub / github.com/benfry/processing4 / post

Method post

core/src/processing/core/PShape.java:1468–1494  ·  view source on GitHub ↗
(PGraphics g)

Source from the content-addressed store, hash-verified

1466
1467
1468 protected void post(PGraphics g) {
1469// for (int i = 0; i < childCount; i++) {
1470// children[i].draw(g);
1471// }
1472
1473 /*
1474 // TODO this is not sufficient, since not saving fillR et al.
1475 g.stroke = strokeSaved;
1476 g.strokeColor = strokeColorSaved;
1477 g.strokeWeight = strokeWeightSaved;
1478 g.strokeCap = strokeCapSaved;
1479 g.strokeJoin = strokeJoinSaved;
1480
1481 g.fill = fillSaved;
1482 g.fillColor = fillColorSaved;
1483
1484 g.ellipseMode = ellipseModeSaved;
1485 */
1486
1487 if (matrix != null) {
1488 g.popMatrix();
1489 }
1490
1491 if (style) {
1492 g.popStyle();
1493 }
1494 }
1495
1496
1497 ////////////////////////////////////////////////////////////////////////

Callers 2

drawMethod · 0.95
drawImplMethod · 0.45

Calls 2

popMatrixMethod · 0.45
popStyleMethod · 0.45

Tested by

no test coverage detected