00001 /* === S Y N F I G ========================================================= */ 00021 /* ========================================================================= */ 00022 00023 /* === S T A R T =========================================================== */ 00024 00025 #ifndef __SYNFIG_RENDERER_GRID_H 00026 #define __SYNFIG_RENDERER_GRID_H 00027 00028 /* === H E A D E R S ======================================================= */ 00029 00030 #include "workarearenderer.h" 00031 #include <vector> 00032 00033 /* === M A C R O S ========================================================= */ 00034 00035 /* === T Y P E D E F S ===================================================== */ 00036 00037 /* === C L A S S E S & S T R U C T S ======================================= */ 00038 00039 namespace studio { 00040 00041 class Renderer_Grid : public studio::WorkAreaRenderer 00042 { 00043 00044 public: 00045 ~Renderer_Grid(); 00046 00047 synfig::Vector get_grid_size()const; 00048 00049 void render_vfunc(const Glib::RefPtr<Gdk::Drawable>& drawable,const Gdk::Rectangle& expose_area ); 00050 00051 protected: 00052 bool get_enabled_vfunc()const; 00053 }; 00054 00055 }; // END of namespace studio 00056 00057 /* === E N D =============================================================== */ 00058 00059 #endif