X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;ds=sidebyside;f=synfig-core%2Ftrunk%2Fsrc%2Fmodules%2Fmod_geometry%2Fcircle.h;h=59f78db545196b6d7d5f09ae4b4c9a8f4607620c;hb=e7e1794959f6b4af0d60d69b5501adcd305f2207;hp=b3651e35b1821d684b268b1c32a90e317cb60bd6;hpb=16b3beced25134bef064705568ecb893a6be4e79;p=synfig.git diff --git a/synfig-core/trunk/src/modules/mod_geometry/circle.h b/synfig-core/trunk/src/modules/mod_geometry/circle.h index b3651e3..59f78db 100644 --- a/synfig-core/trunk/src/modules/mod_geometry/circle.h +++ b/synfig-core/trunk/src/modules/mod_geometry/circle.h @@ -1,36 +1,37 @@ -/* === S I N F G =========================================================== */ +/* === S Y N F I G ========================================================= */ /*! \file circle.h ** \brief Template Header ** ** $Id: circle.h,v 1.2 2005/01/24 03:08:17 darco Exp $ ** ** \legal -** Copyright (c) 2002 Robert B. Quattlebaum Jr. +** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley ** -** This software and associated documentation -** are CONFIDENTIAL and PROPRIETARY property of -** the above-mentioned copyright holder. +** This package is free software; you can redistribute it and/or +** modify it under the terms of the GNU General Public License as +** published by the Free Software Foundation; either version 2 of +** the License, or (at your option) any later version. ** -** You may not copy, print, publish, or in any -** other way distribute this software without -** a prior written agreement with -** the copyright holder. +** This package is distributed in the hope that it will be useful, +** but WITHOUT ANY WARRANTY; without even the implied warranty of +** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +** General Public License for more details. ** \endlegal */ /* ========================================================================= */ /* === H E A D E R S ======================================================= */ -#ifndef __SINFG_LAYER_CIRCLE_H__ -#define __SINFG_LAYER_CIRCLE_H__ +#ifndef __SYNFIG_LAYER_CIRCLE_H__ +#define __SYNFIG_LAYER_CIRCLE_H__ /* -- H E A D E R S --------------------------------------------------------- */ -#include -#include -#include +#include +#include +#include -using namespace sinfg; +using namespace synfig; using namespace std; using namespace etl; @@ -40,14 +41,14 @@ using namespace etl; /* -- S T R U C T S & C L A S S E S ----------------------------------------- */ -class Circle : public sinfg::Layer_Composite, public sinfg::Layer_NoDeform +class Circle : public synfig::Layer_Composite, public synfig::Layer_NoDeform { - SINFG_LAYER_MODULE_EXT + SYNFIG_LAYER_MODULE_EXT private: - sinfg::Color color; - sinfg::Point pos; - sinfg::Real radius; - sinfg::Real feather; + synfig::Color color; + synfig::Point pos; + synfig::Real radius; + synfig::Real feather; bool invert; int falloff; @@ -106,10 +107,10 @@ public: virtual bool accelerated_render(Context context,Surface *surface,int quality, const RendDesc &renddesc, ProgressCallback *cb)const; - virtual sinfg::Rect get_full_bounding_rect(sinfg::Context context)const; - virtual sinfg::Rect get_bounding_rect()const; + virtual synfig::Rect get_full_bounding_rect(synfig::Context context)const; + virtual synfig::Rect get_bounding_rect()const; - sinfg::Layer::Handle hit_check(sinfg::Context context, const sinfg::Point &point)const; + synfig::Layer::Handle hit_check(synfig::Context context, const synfig::Point &point)const; virtual Vocab get_param_vocab()const; };