From 84b99181e804430acedb94ba848a801ffc33e15a Mon Sep 17 00:00:00 2001 From: Tim Redfern Date: Wed, 17 Jan 2018 00:15:21 +0000 Subject: initial commit --- drawing/src/ofApp.cpp | 128 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 128 insertions(+) create mode 100644 drawing/src/ofApp.cpp (limited to 'drawing/src/ofApp.cpp') diff --git a/drawing/src/ofApp.cpp b/drawing/src/ofApp.cpp new file mode 100644 index 0000000..f4a00b5 --- /dev/null +++ b/drawing/src/ofApp.cpp @@ -0,0 +1,128 @@ +#include "ofApp.h" +#include "glew.h" + + +//-------------------------------------------------------------- +void ofApp::setup(){ + ofxSVG svg; + svg.load("shapes.svg"); + vector paths= svg.getPaths(); + + for (int i=0;i outlines= paths[i].getOutline(); + + for (int j=0;j