Rename the 'Position' parameter to 'Offset' for all the 'shape' layers.
[synfig.git] / synfig-core / trunk / src / synfig / canvas.h
index 590d162..9249577 100644 (file)
  *      conical gradient would be entirely obscured by the circle
  *      layer (even by its transparent pixels)
  *
- * 0.3: not yet implemented
+ * 0.3: svn r1422
  *
  *      the 'straight' blend method was fixed.  loading a version 0.2
  *      or older canvas will replace the 'straight' blend method in
  *      non-pastecanvas layers with 'composite'
  */
 
-#define CURRENT_CANVAS_VERSION "0.2"
+#define CURRENT_CANVAS_VERSION "0.3"
 
 /* === T Y P E D E F S ===================================================== */
 
@@ -103,7 +103,7 @@ public:
 
        typedef std::list<Handle> Children;
 
-       friend void synfig::optimize_layers(Context, Canvas::Handle, bool seen_motion_blur);
+       friend void synfig::optimize_layers(Time, Context, Canvas::Handle, bool seen_motion_blur);
 
        /*
  --    ** -- D A T A -------------------------------------------------------------
@@ -529,7 +529,7 @@ protected:
        virtual void get_times_vfunc(Node::time_set &set) const;
 }; // END of class Canvas
 
-void optimize_layers(Context context, Canvas::Handle op_canvas, bool seen_motion_blur=false);
+void optimize_layers(Time time, Context context, Canvas::Handle op_canvas, bool seen_motion_blur=false);
 
 
 }; // END of namespace synfig