X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-core%2Ftrunk%2Fsrc%2Fmodules%2Fmod_gradient%2Fcurvegradient.h;h=c382281ddebf3015c13bbd0c789af8f7974c2af4;hb=2d1ee9b0b0951b7bfb77b92f4fdd7e69d84c8e9e;hp=a70810abd30eb58b952535250f6cc9f645747daf;hpb=44bccb5e0f65738a88be04586da0a5f452a25fc6;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 a70810a..c382281 100644 --- a/synfig-core/trunk/src/modules/mod_gradient/curvegradient.h +++ b/synfig-core/trunk/src/modules/mod_gradient/curvegradient.h @@ -1,11 +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 @@ -51,7 +52,7 @@ class CurveGradient : public Layer_Composite, public Layer_NoDeform private: std::vector bline; - Point offset; + Point origin; Real width; Gradient gradient; Real curve_length_; @@ -60,6 +61,7 @@ private: bool zigzag; bool bline_loop; bool perpendicular; + bool fast; void sync();