From 6f74f80e4c116c61b4734ffbae86aff881daaf5b Mon Sep 17 00:00:00 2001 From: Tim Redfern Date: Sat, 26 Apr 2014 18:20:21 +0100 Subject: started GLFW version --- liveengineUnmapped/ofxSVGTiny/src/ofxSVGTiny.h | 33 -------------------------- 1 file changed, 33 deletions(-) delete mode 100644 liveengineUnmapped/ofxSVGTiny/src/ofxSVGTiny.h (limited to 'liveengineUnmapped/ofxSVGTiny/src/ofxSVGTiny.h') diff --git a/liveengineUnmapped/ofxSVGTiny/src/ofxSVGTiny.h b/liveengineUnmapped/ofxSVGTiny/src/ofxSVGTiny.h deleted file mode 100644 index 5c9a2d3..0000000 --- a/liveengineUnmapped/ofxSVGTiny/src/ofxSVGTiny.h +++ /dev/null @@ -1,33 +0,0 @@ -#pragma once - -#include "ofMain.h" - -extern "C" -{ -#include "svgtiny.h" -}; - -class ofxSVGTiny -{ -public: - - ~ofxSVGTiny(); - - void load(string path); - void draw(); - - float getWidth() const { return width; } - float getHeight() const { return height; } - int getNumPath() { return paths.size(); } - ofPath& getPathAt(int n) { return *paths[n]; } - -private: - float width, height; - - typedef ofPtr ofPathRef; - vector paths; - - void setupDiagram(struct svgtiny_diagram *diagram); - void setupShape(struct svgtiny_shape *shape); - -}; \ No newline at end of file -- cgit v1.2.3