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

Method copyGroup

core/src/processing/opengl/PShapeOpenGL.java:581–590  ·  view source on GitHub ↗
(PGraphicsOpenGL pg, PShape src, PShape dest)

Source from the content-addressed store, hash-verified

579*/
580
581 static public void copyGroup(PGraphicsOpenGL pg, PShape src, PShape dest) {
582 copyMatrix(src, dest);
583 copyStyles(src, dest);
584 copyImage(src, dest);
585
586 for (int i = 0; i < src.getChildCount(); i++) {
587 PShape c = createShape(pg, src.getChild(i));
588 dest.addChild(c);
589 }
590 }
591
592
593 /*

Callers 1

createShapeMethod · 0.95

Calls 7

createShapeMethod · 0.95
copyMatrixMethod · 0.80
copyStylesMethod · 0.80
copyImageMethod · 0.80
getChildCountMethod · 0.45
getChildMethod · 0.45
addChildMethod · 0.45

Tested by

no test coverage detected