Rename the 'Position' parameter to 'Offset' for all the 'shape' layers.
[synfig.git] / synfig-core / trunk / src / synfig / renddesc.h
index 79d8718..b763e88 100644 (file)
@@ -1,8 +1,8 @@
 /* === S Y N F I G ========================================================= */
-/*!    \file renddesc.h
+/*!    \file synfig/renddesc.h
 **     \brief Template Header
 **
-**     $Id: renddesc.h,v 1.1.1.1 2005/01/04 01:23:14 darco Exp $
+**     $Id$
 **
 **     \legal
 **     Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley
@@ -241,7 +241,7 @@ public:
        //! Return the antialias amount
        const int &get_antialias()const;
 
-       //! Set the antilaias amount
+       //! Set the antialias amount
        RendDesc &set_antialias(const int &x);
 
        //! Return the distance from the bottom-right to the top-left
@@ -278,7 +278,7 @@ public:
        //! Returns the height of one pixel
        Real get_ph()const;
 
-       //! Sets viewport to represent the screen at the give pixel coordinates
+       //! Sets viewport to represent the screen at the given pixel coordinates
        RendDesc &set_subwindow(int x, int y, int w, int h);
 };     // END of class RendDesc
 
@@ -303,14 +303,15 @@ inline RendDesc::Lock operator~(RendDesc::Lock rhs)
        return static_cast<RendDesc::Lock>(~(int)rhs);
 }
 
+//! \todo This code isn't used - so how are flags checked?  Using the FLAGS macro from color.h?
 //! This operator is for checking RendDesc::Lock flags.
 /*! Don't think of it as "less then or equal to", but think of it
 **     like an arrow. Is \a rhs inside of \a lhs ?
 **     \see RendDesc::Lock, RendDesc */
-inline bool operator<=(RendDesc::Lock lhs, RendDesc::Lock rhs)
-{
-       return static_cast<int>(lhs) & static_cast<int>(rhs)==static_cast<int>(rhs);
-}
+// inline bool operator<=(RendDesc::Lock lhs, RendDesc::Lock rhs)
+// {
+//     return (static_cast<int>(lhs) & static_cast<int>(rhs)) == static_cast<int>(rhs);
+// }
 
 
 }; /* end namespace synfig */