Using 'width' for the perpendicular scaling factor causes the parameter to be initial...
[synfig.git] / synfig-core / trunk / src / modules / mod_geometry / checkerboard.h
index 25d4d27..327f2f6 100644 (file)
@@ -1,10 +1,13 @@
-/*! ========================================================================
-** Synfig
-** Checkerboard Layer
-** $Id: checkerboard.h,v 1.1.1.1 2005/01/04 01:23:10 darco Exp $
+/* === S Y N F I G ========================================================= */
+/*!    \file checkerboard.h
+**     \brief Header file for implementation of the "Checkerboard" layer
 **
-**     Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley
+**     $Id$
 **
+**     \legal
+**     Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley
+**     Copyright (c) 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
 **     published by the Free Software Foundation; either version 2 of
@@ -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 ===========================================================
 **
@@ -41,20 +45,20 @@ class CheckerBoard : public synfig::Layer_Composite, public synfig::Layer_NoDefo
        SYNFIG_LAYER_MODULE_EXT
 private:
        synfig::Color color;
-       synfig::Point pos;
+       synfig::Point origin;
        synfig::Point size;
 
        bool point_test(const synfig::Point& x)const;
 
 public:
        CheckerBoard();
-       
+
        virtual bool set_param(const synfig::String & param, const synfig::ValueBase &value);
 
        virtual synfig::ValueBase get_param(const synfig::String & param)const;
 
        virtual synfig::Color get_color(synfig::Context context, const synfig::Point &pos)const;
-       
+
        virtual Vocab get_param_vocab()const;
 
        synfig::Layer::Handle hit_check(synfig::Context context, const synfig::Point &point)const;