00001 /* === S Y N F I G ========================================================= */ 00025 /* === S T A R T =========================================================== */ 00026 00027 #ifndef __SYNFIG_INSIDEOUT_H 00028 #define __SYNFIG_INSIDEOUT_H 00029 00030 /* === H E A D E R S ======================================================= */ 00031 00032 #include <synfig/layer.h> 00033 #include <synfig/color.h> 00034 #include <synfig/context.h> 00035 00036 /* === M A C R O S ========================================================= */ 00037 00038 /* === T Y P E D E F S ===================================================== */ 00039 00040 /* === C L A S S E S & S T R U C T S ======================================= */ 00041 00042 using namespace synfig; 00043 using namespace std; 00044 using namespace etl; 00045 class InsideOut_Trans; 00046 00047 class InsideOut : public Layer 00048 { 00049 SYNFIG_LAYER_MODULE_EXT 00050 friend class InsideOut_Trans; 00051 00052 private: 00053 00054 Point origin; 00055 00056 public: 00057 InsideOut(); 00058 00059 virtual bool set_param(const String ¶m, const ValueBase &value); 00060 virtual ValueBase get_param(const String ¶m)const; 00061 virtual Color get_color(Context context, const Point &pos)const; 00062 synfig::Layer::Handle hit_check(synfig::Context context, const synfig::Point &point)const; 00063 virtual Vocab get_param_vocab()const; 00064 virtual etl::handle<synfig::Transform> get_transform()const; 00065 }; 00066 00067 /* === E N D =============================================================== */ 00068 00069 #endif