Expand the comment about version 0.3 of canvases.
[synfig.git] / synfig-core / trunk / src / synfig / canvas.h
index 590d162..a7de319 100644 (file)
@@ -6,7 +6,7 @@
 **
 **     \legal
 **     Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley
-**     Copyright (c) 2007 Chris Moore
+**     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
  *      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'
+ *      non-pastecanvas layers with 'composite', unless they're
+ *      completely transparent, in which case it will replace them
+ *      with an  'alpha over' blend instead.  Images like
+ *      examples/logo.sifz use transparent straight blends to do
+ *      masking, which no longer works now that 'straight' blending is
+ *      fixed.
  */
 
-#define CURRENT_CANVAS_VERSION "0.2"
+#define CURRENT_CANVAS_VERSION "0.3"
 
 /* === T Y P E D E F S ===================================================== */
 
@@ -103,7 +108,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 +534,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