-/*! ========================================================================
-** Synfig
-** Template File
-** $Id: star.cpp,v 1.1.1.1 2005/01/04 01:23:10 darco Exp $
+/* === S Y N F I G ========================================================= */
+/*! \file star.cpp
+** \brief Implementation of the "Star" layer
**
** This package is free software; you can redistribute it and/or
** modify it under the terms of the GNU General Public License as
**
** This package is free software; you can redistribute it and/or
** modify it under the terms of the GNU General Public License as
** 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.
** 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.
-SYNFIG_LAYER_SET_LOCAL_NAME(Star,_("Star"));
-SYNFIG_LAYER_SET_CATEGORY(Star,_("Geometry"));
+SYNFIG_LAYER_SET_LOCAL_NAME(Star,N_("Star"));
+SYNFIG_LAYER_SET_CATEGORY(Star,N_("Geometry"));
Angle dist1(dist_between_points*i+angle);
Angle dist2(dist_between_points*i+dist_between_points/2+angle);
vector_list.push_back(Point(Angle::cos(dist1).get()*radius1,Angle::sin(dist1).get()*radius1));
Angle dist1(dist_between_points*i+angle);
Angle dist2(dist_between_points*i+dist_between_points/2+angle);
vector_list.push_back(Point(Angle::cos(dist1).get()*radius1,Angle::sin(dist1).get()*radius1));
);
ret.push_back(ParamDesc("radius2")
.set_local_name(_("Inner Radius"))
.set_description(_("The radius of the inner points in the star"))
.set_is_distance()
);
ret.push_back(ParamDesc("radius2")
.set_local_name(_("Inner Radius"))
.set_description(_("The radius of the inner points in the star"))
.set_is_distance()
);
ret.push_back(ParamDesc("angle")
.set_local_name(_("Angle"))
.set_description(_("The orientation of the star"))
);
ret.push_back(ParamDesc("angle")
.set_local_name(_("Angle"))
.set_description(_("The orientation of the star"))