Code

Infrastructure to set direction of infinite VPs (now adjustable by some shortcuts...
[inkscape.git] / src / box3d.h
index 27e7341937d0969d88ccf16e3ee8f6b1eccf8555..1e567ded95d2e1751d73cda2e8fb7bff9d9691f1 100644 (file)
@@ -50,6 +50,7 @@ struct SP3DBox : public SPGroup {
 
     // FIXME: If we only allow a single box to be dragged at a time then we can save memory by storing
     //        the old positions centrally in SP3DBoxContext (instead of in each box separately)
+    // Also, it may be better not to store the old corners but rather the old lines to which we want to snap
     NR::Point old_center;
     NR::Point old_corner2;
     NR::Point old_corner1;
@@ -76,6 +77,7 @@ void sp_3dbox_update_curves (SP3DBox *box);
 void sp_3dbox_link_to_existing_paths (SP3DBox *box, Inkscape::XML::Node *repr);
 void sp_3dbox_set_ratios (SP3DBox *box, Box3D::Axis axes = Box3D::XYZ);
 void sp_3dbox_switch_front_face (SP3DBox *box, Box3D::Axis axis);
+void sp_3dbox_reshape_after_VP_rotation (SP3DBox *box, Box3D::Axis axis);
 void sp_3dbox_move_corner_in_XY_plane (SP3DBox *box, guint id, NR::Point pt, Box3D::Axis axes = Box3D::XY);
 void sp_3dbox_move_corner_in_Z_direction (SP3DBox *box, guint id, NR::Point pt, bool constrained = true);
 void sp_3dbox_reshape_after_VP_toggling (SP3DBox *box, Box3D::Axis axis);