diff options
| author | Maximilian Albert <maximilian.albert@gmail.com> | 2008-03-19 10:37:50 +0000 |
|---|---|---|
| committer | cilix42 <cilix42@users.sourceforge.net> | 2008-03-19 10:37:50 +0000 |
| commit | ada45404a3eae549b4fe3d1fcd7ebab7704c086e (patch) | |
| tree | 2e5cd6e9371f34c67254238da082a33494d3f010 /src/box3d.h | |
| parent | update lpe commands (diff) | |
| download | inkscape-ada45404a3eae549b4fe3d1fcd7ebab7704c086e.tar.gz inkscape-ada45404a3eae549b4fe3d1fcd7ebab7704c086e.zip | |
Make grouped 3D boxes work correctly when transformed (fixes: LP 188991)
(bzr r5122)
Diffstat (limited to 'src/box3d.h')
| -rw-r--r-- | src/box3d.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/box3d.h b/src/box3d.h index d9fd540b6..bc88e6257 100644 --- a/src/box3d.h +++ b/src/box3d.h @@ -54,7 +54,7 @@ GType box3d_get_type (void); void box3d_position_set (SPBox3D *box); Proj::Pt3 box3d_get_proj_corner (SPBox3D const *box, guint id); -NR::Point box3d_get_corner_screen (SPBox3D const *box, guint id); +NR::Point box3d_get_corner_screen (SPBox3D const *box, guint id, bool item_coords = true); Proj::Pt3 box3d_get_proj_center (SPBox3D *box); NR::Point box3d_get_center_screen (SPBox3D *box); @@ -74,6 +74,8 @@ void box3d_add_to_selection(SPBox3D *box); void box3d_remove_from_selection(SPBox3D *box); void box3d_mark_transformed(SPBox3D *box); +std::list<SPBox3D *> box3d_extract_boxes(SPObject *obj); + Persp3D *box3d_get_perspective(SPBox3D const *box); void box3d_switch_perspectives(SPBox3D *box, Persp3D *old_persp, Persp3D *new_persp, bool recompute_corners = false); |
