diff options
| author | Tim Redfern <tim@eclectronics.org> | 2014-04-26 18:20:21 +0100 |
|---|---|---|
| committer | Tim Redfern <tim@eclectronics.org> | 2014-04-26 18:20:21 +0100 |
| commit | 6f74f80e4c116c61b4734ffbae86aff881daaf5b (patch) | |
| tree | c0044aa2efefd53711cba63ed91860e265831703 /liveengineUnmapped/ofxSVGTiny/src/ofxSVGTiny.h | |
| parent | ba9af7648a79b54836019ca792e40e81ca863c86 (diff) | |
started GLFW version
Diffstat (limited to 'liveengineUnmapped/ofxSVGTiny/src/ofxSVGTiny.h')
| -rw-r--r-- | liveengineUnmapped/ofxSVGTiny/src/ofxSVGTiny.h | 33 |
1 files changed, 0 insertions, 33 deletions
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<ofPath> ofPathRef; - vector<ofPathRef> paths; - - void setupDiagram(struct svgtiny_diagram *diagram); - void setupShape(struct svgtiny_shape *shape); - -};
\ No newline at end of file |
