diff options
Diffstat (limited to 'nextus/src/ofApp.cpp')
| -rw-r--r-- | nextus/src/ofApp.cpp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/nextus/src/ofApp.cpp b/nextus/src/ofApp.cpp index 3ace079..088c394 100644 --- a/nextus/src/ofApp.cpp +++ b/nextus/src/ofApp.cpp @@ -63,6 +63,21 @@ void ofApp::draw(){ svginput.draw(); textinput.draw(); + //process the pipeline + vector<colourPolyline> output=svginput.getLines(); + + ofPushMatrix(); + ofTranslate(695,5); + ofSetColor(255); + ofNoFill(); + ofDrawRectangle(0,0,500,500); + ofTranslate(250,250); + ofScale(250.0f); + for (auto poly:output){ + poly.draw(); + } + ofPopMatrix(); + } |
