/*! \file rectangle.h
** \brief Template Header
**
-** $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
class Rectangle : public synfig::Layer_Composite, public synfig::Layer_NoDeform
{
SYNFIG_LAYER_MODULE_EXT
-
+
private:
synfig::Color color;
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 Rectangle::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;