summaryrefslogtreecommitdiffstats
path: root/src/attributes.h
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.h
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.h')
-rw-r--r--src/attributes.h19
1 files changed, 12 insertions, 7 deletions
diff --git a/src/attributes.h b/src/attributes.h
index 0962827f8..33e060893 100644
--- a/src/attributes.h
+++ b/src/attributes.h
@@ -118,13 +118,18 @@ enum SPAttributeEnum {
/* SPRect */
SP_ATTR_RX,
SP_ATTR_RY,
- /* SP3DBox */
- SP_ATTR_INKSCAPE_3DBOX,
- SP_ATTR_INKSCAPE_3DBOX_CORNER_A, // "upper left front" corner
- SP_ATTR_INKSCAPE_3DBOX_CORNER_B, // "lower right front" corner
- SP_ATTR_INKSCAPE_3DBOX_CORNER_C, // "lower right rear" corner
- SP_ATTR_INKSCAPE_3DBOX_PERSPECTIVE,
- SP_ATTR_INKSCAPE_3DBOX_FACE,
+ /* Box3D */
+ SP_ATTR_INKSCAPE_BOX3D_PERSPECTIVE_ID,
+ SP_ATTR_INKSCAPE_BOX3D_CORNER0, // "upper left front" corner (as a point in 3-space)
+ SP_ATTR_INKSCAPE_BOX3D_CORNER7, // "lower right rear" corner (as a point in 3-space)
+ /* Box3DSide */
+ SP_ATTR_INKSCAPE_BOX3D_SIDE_TYPE,
+ /* Persp3D */
+ SP_ATTR_INKSCAPE_PERSP3D,
+ SP_ATTR_INKSCAPE_PERSP3D_VP_X,
+ SP_ATTR_INKSCAPE_PERSP3D_VP_Y,
+ SP_ATTR_INKSCAPE_PERSP3D_VP_Z,
+ SP_ATTR_INKSCAPE_PERSP3D_ORIGIN,
/* SPEllipse */
SP_ATTR_R,
SP_ATTR_CX,