Add a new parameter 'focus' to the pastecanvas layer, and use this for the center...
[synfig.git] / synfig-core / trunk / src / synfig / layer_pastecanvas.h
index ab1bd1f..7ad1f74 100644 (file)
@@ -51,6 +51,8 @@ class Layer_PasteCanvas : public Layer_Composite, public Layer_NoDeform
 private:
 
        Vector origin;
+       Vector focus;
+       Vector junk;
 
        etl::loose_handle<synfig::Canvas> canvas;