Remove .gitignore do nothing is ignored.
[synfig.git] / synfig-core / trunk / src / modules / mod_geometry / rectangle.h
index b5f9124..add217c 100644 (file)
@@ -1,8 +1,8 @@
 /* === S Y N F I G ========================================================= */
 /*!    \file rectangle.h
-**     \brief Template Header
+**     \brief Header file for implementation of the "Rectangle" layer
 **
-**     $Id: rectangle.h,v 1.2 2005/01/24 03:08:17 darco Exp $
+**     $Id$
 **
 **     \legal
 **     Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley
@@ -42,7 +42,7 @@
 class Rectangle : public synfig::Layer_Composite, public synfig::Layer_NoDeform
 {
        SYNFIG_LAYER_MODULE_EXT
-       
+
 private:
 
        synfig::Color color;
@@ -55,18 +55,20 @@ private:
        bool invert;
 
 public:
-       
+
        Rectangle();
-       
+
        virtual bool set_param(const synfig::String & param, const synfig::ValueBase &value);
 
        virtual synfig::ValueBase get_param(const synfig::String & param)const;
 
+       virtual bool is_solid_color()const;
+
        virtual synfig::Color get_color(synfig::Context context, const synfig::Point &pos)const;
-       
+
        virtual bool accelerated_render(synfig::Context context,synfig::Surface *surface,int quality, const synfig::RendDesc &renddesc, synfig::ProgressCallback *cb)const;
 
-       synfig::Layer::Handle hit_check(synfig::Context context, const synfig::Point &point)const;      
+       synfig::Layer::Handle hit_check(synfig::Context context, const synfig::Point &point)const;
 
        virtual synfig::Rect get_bounding_rect()const;
        virtual synfig::Rect get_full_bounding_rect(synfig::Context context)const;