Code

fix 1767940
[inkscape.git] / src / vanishing-point.h
index 98788f51247a0f6aa6c969d9e7530f2d00b69ffa..7d53fa89d431a7cb06d581f276531eadd089e72a 100644 (file)
@@ -95,6 +95,8 @@ public:
     /* returns the VP of the dragger that belongs to the given perspective */
     VanishingPoint *getVPofPerspective (Perspective3D *persp);
 
+    void updateTip();
+
     bool hasBox (const SP3DBox *box);
     guint numberOfBoxes(); // the number of boxes linked to all VPs of the dragger
 
@@ -103,11 +105,12 @@ public:
 
     void reshapeBoxes(NR::Point const &p, Box3D::Axis axes);
     void updateBoxReprs();
+    void updateZOrders();
 };
 
 struct VPDrag {
 public:
-    VPDrag(SPDesktop *desktop);
+    VPDrag(SPDocument *document);
     ~VPDrag();
 
     VPDragger *getDraggerFor (VanishingPoint const &vp);
@@ -116,7 +119,7 @@ public:
 
     bool local_change;
 
-    SPDesktop *desktop;
+    SPDocument *document;
     GList *draggers;
     GSList *lines;