summaryrefslogtreecommitdiffstats
path: root/src/attributes.cpp
diff options
context:
space:
mode:
authorMaximilian Albert <maximilian.albert@gmail.com>2007-12-13 09:45:27 +0000
committercilix42 <cilix42@users.sourceforge.net>2007-12-13 09:45:27 +0000
commitcae2409c94b11d17643f7c19829e2653d759ff8e (patch)
treea8399ab9b3e8ff2570a92bef06e63f2307fef592 /src/attributes.cpp
parentlibgdl: avoid setting a negative preferred height for dock items, (diff)
downloadinkscape-cae2409c94b11d17643f7c19829e2653d759ff8e.tar.gz
inkscape-cae2409c94b11d17643f7c19829e2653d759ff8e.zip
Fundamentally reworked version of the 3D box tool (among many other things, this fixes bugs #168900 and #168868). See mailing list for details. Sorry for this single large commit but it was unfeasible to keep the history.
(bzr r4224)
Diffstat (limited to 'src/attributes.cpp')
-rw-r--r--src/attributes.cpp19
1 files changed, 12 insertions, 7 deletions
diff --git a/src/attributes.cpp b/src/attributes.cpp
index 3777c68a1..8232065fc 100644
--- a/src/attributes.cpp
+++ b/src/attributes.cpp
@@ -118,13 +118,18 @@ static SPStyleProp const props[] = {
/* SPRect */
{SP_ATTR_RX, "rx"},
{SP_ATTR_RY, "ry"},
- /* SP3DBox */
- {SP_ATTR_INKSCAPE_3DBOX, "inkscape:3dbox"},
- {SP_ATTR_INKSCAPE_3DBOX_CORNER_A, "inkscape:box3dcornerA"}, // "upper left front" corner
- {SP_ATTR_INKSCAPE_3DBOX_CORNER_B, "inkscape:box3dcornerB"}, // "lower right front" corner
- {SP_ATTR_INKSCAPE_3DBOX_CORNER_C, "inkscape:box3dcornerC"}, // "lower right rear" corner
- {SP_ATTR_INKSCAPE_3DBOX_PERSPECTIVE, "inkscape:perspective"},
- {SP_ATTR_INKSCAPE_3DBOX_FACE, "inkscape:box3dface"},
+ /* Box3D */
+ {SP_ATTR_INKSCAPE_BOX3D_PERSPECTIVE_ID, "inkscape:perspectiveID"},
+ {SP_ATTR_INKSCAPE_BOX3D_CORNER0, "inkscape:corner0"},
+ {SP_ATTR_INKSCAPE_BOX3D_CORNER7, "inkscape:corner7"},
+ /* Box3DSide */
+ {SP_ATTR_INKSCAPE_BOX3D_SIDE_TYPE, "inkscape:box3dsidetype"}, // XYfront, etc.
+ /* Persp3D */
+ {SP_ATTR_INKSCAPE_PERSP3D, "inkscape:persp3d"},
+ {SP_ATTR_INKSCAPE_PERSP3D_VP_X, "inkscape:vp_x"},
+ {SP_ATTR_INKSCAPE_PERSP3D_VP_Y, "inkscape:vp_y"},
+ {SP_ATTR_INKSCAPE_PERSP3D_VP_Z, "inkscape:vp_z"},
+ {SP_ATTR_INKSCAPE_PERSP3D_ORIGIN, "inkscape:persp3d-origin"},
/* SPEllipse */
{SP_ATTR_R, "r"},
{SP_ATTR_CX, "cx"},