X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-core%2Ftrunk%2Fsrc%2Fmodules%2Fmod_gradient%2Fcurvegradient.h;h=c382281ddebf3015c13bbd0c789af8f7974c2af4;hb=9459638ad6797b8139f1e9f0715c96076dbf0890;hp=fc92aadae57f3ec472b03c232542902af66a0653;hpb=5ddcf36f04cfbd10fabda4e3c5633cb27cdd4c0a;p=synfig.git diff --git a/synfig-core/trunk/src/modules/mod_gradient/curvegradient.h b/synfig-core/trunk/src/modules/mod_gradient/curvegradient.h index fc92aad..c382281 100644 --- a/synfig-core/trunk/src/modules/mod_gradient/curvegradient.h +++ b/synfig-core/trunk/src/modules/mod_gradient/curvegradient.h @@ -1,9 +1,12 @@ -/*! ======================================================================== -** Synfig -** Template Header File -** $Id: curvegradient.h,v 1.1.1.1 2005/01/04 01:23:10 darco Exp $ +/* === S Y N F I G ========================================================= */ +/*! \file curvegradient.h +** \brief Header file for implementation of the "Curve Gradient" layer ** +** $Id$ +** +** \legal ** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley +** Copyright (c) 2007-2008 Chris Moore ** ** This package is free software; you can redistribute it and/or ** modify it under the terms of the GNU General Public License as @@ -14,6 +17,7 @@ ** 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 ** ** === N O T E S =========================================================== ** @@ -48,17 +52,16 @@ class CurveGradient : public Layer_Composite, public Layer_NoDeform private: std::vector bline; - Point p1,p2; - Point offset; + Point origin; Real width; - Vector diff; Gradient gradient; - Real curve_length_; + Real curve_length_; bool loop; bool zigzag; bool bline_loop; bool perpendicular; + bool fast; void sync();