X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-core%2Ftrunk%2Fsrc%2Fmodules%2Fmod_geometry%2Frectangle.h;h=add217c9ac1ff379dd6ca66cb2811e78a5278f6a;hb=38c96cf43203ac5275225e1177d5e5cd01f07146;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..add217c 100644 --- a/synfig-core/trunk/src/modules/mod_geometry/rectangle.h +++ b/synfig-core/trunk/src/modules/mod_geometry/rectangle.h @@ -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;