Release of synfigstudio 0.61.09 version. *****
[synfig.git] / ETL / tags / stable / ETL / _surface.h
index b91ab98..d5a32a5 100644 (file)
@@ -4,6 +4,7 @@
 ** $Id$
 **
 ** Copyright (c) 2002 Robert B. Quattlebaum Jr.
+** 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
@@ -32,6 +33,7 @@
 #include "_pen.h"
 #include "_misc.h"
 #include <algorithm>
+#include <cstring>
 
 /* === M A C R O S ========================================================= */
 
@@ -64,7 +66,7 @@ public:
        typedef VP value_prep_type;
 
        typedef alpha_pen<const_pen> const_alpha_pen;
-       typedef alpha_pen<pen> alpha_pen;
+       typedef alpha_pen<pen> non_const_alpha_pen;
 
        typedef typename pen::difference_type size_type;
        typedef typename pen::difference_type difference_type;
@@ -495,7 +497,7 @@ public:
                if(y0 > y1) std::swap(y0,y1);
 
                //local variable madness
-               //all things that want to interoperate should provide a default value constructor for = 0
+               //all things that want to inter-operate should provide a default value constructor for = 0
                accumulator_type acum = 0;
                int xi=0,yi=0;
 
@@ -561,7 +563,7 @@ public:
                if(y0 > y1) std::swap(y0,y1);
 
                //local variable madness
-               //all things that want to interoperate should provide a default value constructor for = 0
+               //all things that want to inter-operate should provide a default value constructor for = 0
                accumulator_type acum = 0;
                int xi=0,yi=0;