X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-core%2Ftrunk%2Fsrc%2Fmodules%2Fmod_geometry%2Fstar.cpp;h=c2a8696f6bf39f7553f6307bb0439a8fafc4572e;hb=5ddcf36f04cfbd10fabda4e3c5633cb27cdd4c0a;hp=2e5bac0bedc3600850ecdc9f29cb142593f92d4c;hpb=16b3beced25134bef064705568ecb893a6be4e79;p=synfig.git diff --git a/synfig-core/trunk/src/modules/mod_geometry/star.cpp b/synfig-core/trunk/src/modules/mod_geometry/star.cpp index 2e5bac0..c2a8696 100644 --- a/synfig-core/trunk/src/modules/mod_geometry/star.cpp +++ b/synfig-core/trunk/src/modules/mod_geometry/star.cpp @@ -1,18 +1,19 @@ /*! ======================================================================== -** Sinfg +** Synfig ** Template File ** $Id: star.cpp,v 1.1.1.1 2005/01/04 01:23:10 darco Exp $ ** -** 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. ** ** === N O T E S =========================================================== ** @@ -32,15 +33,15 @@ #include #include -#include -#include -#include -#include -#include -#include -#include -#include -#include +#include +#include +#include +#include +#include +#include +#include +#include +#include #endif @@ -52,12 +53,12 @@ using namespace etl; /* === G L O B A L S ======================================================= */ -SINFG_LAYER_INIT(Star); -SINFG_LAYER_SET_NAME(Star,"star"); -SINFG_LAYER_SET_LOCAL_NAME(Star,_("Star")); -SINFG_LAYER_SET_CATEGORY(Star,_("Geometry")); -SINFG_LAYER_SET_VERSION(Star,"0.1"); -SINFG_LAYER_SET_CVS_ID(Star,"$Id: star.cpp,v 1.1.1.1 2005/01/04 01:23:10 darco Exp $"); +SYNFIG_LAYER_INIT(Star); +SYNFIG_LAYER_SET_NAME(Star,"star"); +SYNFIG_LAYER_SET_LOCAL_NAME(Star,_("Star")); +SYNFIG_LAYER_SET_CATEGORY(Star,_("Geometry")); +SYNFIG_LAYER_SET_VERSION(Star,"0.1"); +SYNFIG_LAYER_SET_CVS_ID(Star,"$Id: star.cpp,v 1.1.1.1 2005/01/04 01:23:10 darco Exp $"); /* === P R O C E D U R E S ================================================= */ @@ -79,7 +80,7 @@ Star::sync() { Angle dist_between_points(Angle::rot(1)/float(points)); std::vector vector_list; - + int i; for(i=0;i