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=98f65d5d995ef51269a36f8433b4a412669ff3bc;hpb=70bcefce2ab011a11014f36fc129b473cc0bc61e;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 98f65d5..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 @@ /* === S Y N F I G ========================================================= */ /*! \file curvegradient.h -** \brief Template Header +** \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 @@ -49,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();