X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=src%2Fbox3d-face.h;h=0e911cccfdbe84a1d18878ac63586d47767441e7;hb=fb7b063b3b4603551cac8bb4e8caafb2b7654db8;hp=08729150e2119b97532a4d3d7b4999f79d670717;hpb=950183df6a75a3e57c1592cc2c8c5ce37f51afc2;p=inkscape.git diff --git a/src/box3d-face.h b/src/box3d-face.h index 08729150e..0e911cccf 100644 --- a/src/box3d-face.h +++ b/src/box3d-face.h @@ -42,9 +42,12 @@ public: void set_corners (NR::Point &A, NR::Point &B, NR::Point &C, NR::Point &D); void set_face (NR::Point const A, NR::Point const C, Box3D::Axis const dir1, Box3D::Axis const dir2); - void hook_path_to_3dbox(); + void hook_path_to_3dbox(SPPath * existing_path = NULL); void set_path_repr(); void set_curve(); + inline void lower_to_bottom() { SP_ITEM (path)->lowerToBottom(); } + inline void raise_to_top() { SP_ITEM (path)->raiseToTop(); } + gchar * axes_string(); gchar * svg_repr_string(); private: @@ -52,6 +55,8 @@ private: Box3D::Axis dir1; Box3D::Axis dir2; + + Box3D::FrontOrRear front_or_rear; SPPath *path; SP3DBox *parent_box3d;