X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-core%2Ftrunk%2Fsrc%2Fmodules%2Fmod_geometry%2Foutline.h;h=228026c60167a557442897c6e6f4d30282975faa;hb=58748f175cc00939b16dac1ae75334f030d181f8;hp=1e5acde55097d1ad90075162815b3e95337bfca5;hpb=16b3beced25134bef064705568ecb893a6be4e79;p=synfig.git diff --git a/synfig-core/trunk/src/modules/mod_geometry/outline.h b/synfig-core/trunk/src/modules/mod_geometry/outline.h index 1e5acde..228026c 100644 --- a/synfig-core/trunk/src/modules/mod_geometry/outline.h +++ b/synfig-core/trunk/src/modules/mod_geometry/outline.h @@ -1,36 +1,37 @@ -/* === S I N F G =========================================================== */ +/* === S Y N F I G ========================================================= */ /*! \file bline.h ** \brief Template Header ** ** $Id: outline.h,v 1.1.1.1 2005/01/04 01:23:10 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_OUTLINE_H -#define __SINFG_OUTLINE_H +#ifndef __SYNFIG_OUTLINE_H +#define __SYNFIG_OUTLINE_H /* === H E A D E R S ======================================================= */ #include #include -#include -#include -#include +#include +#include +#include /* === M A C R O S ========================================================= */ @@ -38,19 +39,19 @@ /* === C L A S S E S & S T R U C T S ======================================= */ -using namespace sinfg; +using namespace synfig; using namespace std; using namespace etl; -class Outline : public sinfg::Layer_Polygon +class Outline : public synfig::Layer_Polygon { - SINFG_LAYER_MODULE_EXT + SYNFIG_LAYER_MODULE_EXT private: - sinfg::ValueBase bline; + synfig::ValueBase bline; - std::vector segment_list; - std::vector width_list; + std::vector segment_list; + std::vector width_list; bool round_tip[2]; @@ -58,9 +59,9 @@ private: bool loop_; - sinfg::Real width; + synfig::Real width; - sinfg::Real expand; + synfig::Real expand; Real loopyness; bool old_version; @@ -76,7 +77,7 @@ public: //! Updates the polygon data to match the parameters. 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;