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

Method copyGroup

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

Source from the content-addressed store, hash-verified

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

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