initial version
[synfig.git] / synfig-studio / trunk / src / gtkmm / renderer_bbox.h
diff --git a/synfig-studio/trunk/src/gtkmm/renderer_bbox.h b/synfig-studio/trunk/src/gtkmm/renderer_bbox.h
new file mode 100644 (file)
index 0000000..7b39d77
--- /dev/null
@@ -0,0 +1,62 @@
+/* === S I N F G =========================================================== */
+/*!    \file renderer_bbox.h
+**     \brief Template Header
+**
+**     $Id: renderer_bbox.h,v 1.1.1.1 2005/01/07 03:34:36 darco Exp $
+**
+**     \legal
+**     Copyright (c) 2002 Robert B. Quattlebaum Jr.
+**
+**     This software and associated documentation
+**     are CONFIDENTIAL and PROPRIETARY property of
+**     the above-mentioned copyright holder.
+**
+**     You may not copy, print, publish, or in any
+**     other way distribute this software without
+**     a prior written agreement with
+**     the copyright holder.
+**     \endlegal
+*/
+/* ========================================================================= */
+
+/* === S T A R T =========================================================== */
+
+#ifndef __SINFG_RENDERER_BBOX_H
+#define __SINFG_RENDERER_BBOX_H
+
+/* === H E A D E R S ======================================================= */
+
+#include "workarearenderer.h"
+#include <vector>
+#include <sinfg/vector.h>
+#include <sinfg/rect.h>
+
+/* === M A C R O S ========================================================= */
+
+/* === T Y P E D E F S ===================================================== */
+
+/* === C L A S S E S & S T R U C T S ======================================= */
+
+namespace studio {
+
+class Renderer_BBox : public studio::WorkAreaRenderer
+{
+       sinfg::Rect bbox;
+       
+public:
+       Renderer_BBox();
+       ~Renderer_BBox();
+
+       const sinfg::Rect& get_bbox();
+
+       void render_vfunc(const Glib::RefPtr<Gdk::Drawable>& drawable,const Gdk::Rectangle& expose_area );
+
+protected:
+       //bool get_enabled_vfunc()const;
+};
+
+}; // END of namespace studio
+
+/* === E N D =============================================================== */
+
+#endif