X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-core%2Ftrunk%2Fsrc%2Fsynfig%2Flayer_polygon.h;h=1794c02581015df6ba19becf659be734e91bcdee;hb=5ddcf36f04cfbd10fabda4e3c5633cb27cdd4c0a;hp=0f2bce3ac785068e2a21431430417604753f1ac9;hpb=e3acc0b267b14fda5db3c7bbb2f218b993ef84b3;p=synfig.git diff --git a/synfig-core/trunk/src/synfig/layer_polygon.h b/synfig-core/trunk/src/synfig/layer_polygon.h index 0f2bce3..1794c02 100644 --- a/synfig-core/trunk/src/synfig/layer_polygon.h +++ b/synfig-core/trunk/src/synfig/layer_polygon.h @@ -1,28 +1,29 @@ -/* === S I N F G =========================================================== */ +/* === S Y N F I G ========================================================= */ /*! \file layer_polygon.h ** \brief Template Header ** ** $Id: layer_polygon.h,v 1.1.1.1 2005/01/04 01:23:14 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 */ /* ========================================================================= */ /* === S T A R T =========================================================== */ -#ifndef __SINFG_LAYER_POLYGON_H -#define __SINFG_LAYER_POLYGON_H +#ifndef __SYNFIG_LAYER_POLYGON_H +#define __SYNFIG_LAYER_POLYGON_H /* === H E A D E R S ======================================================= */ @@ -38,17 +39,17 @@ /* === C L A S S E S & S T R U C T S ======================================= */ -namespace sinfg { - +namespace synfig { + /*! \class Layer_Polygon ** \beief writeme ** \todo This layer needs to support multiple polygons */ class Layer_Polygon : public Layer_Shape { - SINFG_LAYER_MODULE_EXT - + SYNFIG_LAYER_MODULE_EXT + private: - + //exported data std::vector< Point > vector_list; @@ -77,11 +78,11 @@ public: //! Updates EdgeTable so it will reflect the parameter data void sync(); - - virtual bool set_param(const String & param, const sinfg::ValueBase &value); + + virtual bool set_param(const String & param, const synfig::ValueBase &value); virtual ValueBase get_param(const String & param)const; - + virtual Vocab get_param_vocab()const; private: @@ -89,7 +90,7 @@ private: bool render_polyspan(Surface *surface,PolySpan &polyspan)const; }; // END of Layer_Polygon -}; // END of namespace sinfg +}; // END of namespace synfig /* === E N D =============================================================== */ #endif