diff options
| author | Tim Redfern <tim@getdrop.com> | 2023-04-18 17:41:57 +0100 |
|---|---|---|
| committer | Tim Redfern <tim@getdrop.com> | 2023-04-18 17:41:57 +0100 |
| commit | 3b89e73c157f0eef8a3479b613491c8343f9c43b (patch) | |
| tree | f0235fb52633c9889823eb4a0310d97d0cffee0a /nextus/src/ofApp.cpp | |
| parent | ef6ea2258969c8a1ceacf10e08085cc55ccae448 (diff) | |
loads SVGs
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(); + } |
