00001 /* === S Y N F I G ========================================================= */ 00025 /* === S T A R T =========================================================== */ 00026 00027 #ifndef __SYNFIG_SUPERSAMPLE_H 00028 #define __SYNFIG_SUPERSAMPLE_H 00029 00030 /* === H E A D E R S ======================================================= */ 00031 00032 #include <synfig/layer.h> 00033 00034 /* === M A C R O S ========================================================= */ 00035 00036 /* === T Y P E D E F S ===================================================== */ 00037 00038 /* === C L A S S E S & S T R U C T S ======================================= */ 00039 00040 using namespace synfig; 00041 using namespace std; 00042 using namespace etl; 00043 00044 class SuperSample : public synfig::Layer 00045 { 00046 SYNFIG_LAYER_MODULE_EXT 00047 00048 private: 00049 int width, height; 00050 bool scanline,alpha_aware; 00051 public: 00052 SuperSample(); 00053 00054 virtual bool set_param(const String & param, const synfig::ValueBase &value); 00055 00056 virtual ValueBase get_param(const String & param)const; 00057 00058 virtual bool accelerated_render(Context context,Surface *surface,int quality, const RendDesc &renddesc, ProgressCallback *cb)const; 00059 virtual synfig::Rect get_bounding_rect(Context context)const; 00060 00061 virtual Vocab get_param_vocab()const; 00062 }; 00063 00064 /* === E N D =============================================================== */ 00065 00066 #endif