layer_motionblur.h

Go to the documentation of this file.
00001 /* === S Y N F I G ========================================================= */
00021 /* ========================================================================= */
00022 
00023 /* === S T A R T =========================================================== */
00024 
00025 #ifndef __SYNFIG_LAYER_MOTIONBLUR_H__
00026 #define __SYNFIG_LAYER_MOTIONBLUR_H__
00027 
00028 /* === H E A D E R S ======================================================= */
00029 
00030 #include "layer_composite.h"
00031 #include "time.h"
00032 
00033 /* === S T R U C T S & C L A S S E S ======================================= */
00034 
00035 namespace synfig {
00036 
00037 class Layer_MotionBlur : public synfig::Layer_Composite
00038 {
00039     SYNFIG_LAYER_MODULE_EXT
00040 
00041 private:
00042 
00043     Time aperture;
00044 
00045     mutable Time time_cur;
00046 
00047 public:
00048 
00049     Layer_MotionBlur();
00050 
00051     virtual bool set_param(const String & param, const synfig::ValueBase &value);
00052 
00053     virtual ValueBase get_param(const String & param)const;
00054 
00055     virtual Color get_color(Context context, const Point &pos)const;
00056 
00057     virtual void set_time(Context context, Time time)const;
00058 
00059     virtual void set_time(Context context, Time time, const Point &point)const;
00060 
00061     virtual bool accelerated_render(Context context,Surface *surface,int quality, const RendDesc &renddesc, ProgressCallback *cb)const;
00062 
00063     virtual Vocab get_param_vocab()const;
00064 
00065 }; // END of class Layer_MotionBlur
00066 
00067 }; // END of namespace synfig
00068 
00069 /* === E N D =============================================================== */
00070 
00071 #endif

Generated on Wed Dec 12 03:11:41 2007 for synfig by  doxygen 1.5.4