4243444546474849505152
image.beginDraw(); wordCram.drawAll(); image.endDraw(); image.save(imageConfig.fileName); } finally { image.dispose(); }
252253254255256257258259260261262
if (GLOBAL.sketchChairs.getCurChair() != null) { PGraphics saveImg = GLOBAL.sketchChairs.getCurChair() .renderToFile(); if (saveImg.width > 0 && saveImg.height > 0) saveImg.save(name + ".png"); } }
955956957958959960961962963964965
applyWorldTranslation(gSun); GLOBAL.sketchChairs.render(gSun); gSun.updatePixels(); gSun.endDraw(); gSun.save("render.png"); //P5Sunflow sunflow = (P5Sunflow) g; } public void resize() {