From 766266368648487735894e6bf01c0330db6be2aa Mon Sep 17 00:00:00 2001 From: Tim Redfern Date: Mon, 27 Aug 2012 20:34:24 +0100 Subject: svg layers --- liveengine/src/layers.h | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 liveengine/src/layers.h (limited to 'liveengine/src/layers.h') diff --git a/liveengine/src/layers.h b/liveengine/src/layers.h new file mode 100644 index 0000000..e3b0fd8 --- /dev/null +++ b/liveengine/src/layers.h @@ -0,0 +1,31 @@ +#ifndef SVGLAYER_H +#define SVGLAYER_H + +#include "ofxSVGTiny.h" + +class layer +{ + public: + layer(); + layer(string _f); + virtual ~layer(); + virtual void load(string _f); + virtual void draw(); + protected: + private: +}; + +class svglayer: public layer +{ + public: + svglayer(); + svglayer(string _f); + virtual ~svglayer(); + void load(string _f); + void draw(); + protected: + private: + ofxSVGTiny svg; +}; + +#endif // SVGLAYER_H -- cgit v1.2.3