X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-core%2Ftrunk%2Fsrc%2Fmodules%2Fmod_geometry%2Frectangle.h;h=2c785858292db18231668243e76d6c5a47151cb1;hb=eb5429a96fa0962cd28f6e4ce85287ec4425d551;hp=b5f912468b1ac9ebbb0fad7629fb2cedceb4624f;hpb=e8a065f2385c219c511b57dac52786120bfa097d;p=synfig.git diff --git a/synfig-core/trunk/src/modules/mod_geometry/rectangle.h b/synfig-core/trunk/src/modules/mod_geometry/rectangle.h index b5f9124..2c78585 100644 --- a/synfig-core/trunk/src/modules/mod_geometry/rectangle.h +++ b/synfig-core/trunk/src/modules/mod_geometry/rectangle.h @@ -2,7 +2,7 @@ /*! \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 @@ -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;