summaryrefslogtreecommitdiffstats
path: root/src/attributes.h
diff options
context:
space:
mode:
authorMaximilian Albert <maximilian.albert@gmail.com>2007-07-14 14:51:56 +0000
committercilix42 <cilix42@users.sourceforge.net>2007-07-14 14:51:56 +0000
commit01616ad9d6084dc6ef4fc14622b018ee582431d2 (patch)
tree18b19bc71561e666249d6c0021e2700561fa9909 /src/attributes.h
parentFilter effects dialog: (diff)
downloadinkscape-01616ad9d6084dc6ef4fc14622b018ee582431d2.tar.gz
inkscape-01616ad9d6084dc6ef4fc14622b018ee582431d2.zip
Write distinguished corners of 3D boxes to the svg representation from which the box can be recomputed.
This is used to fix several bugs related to the editing of boxes resulting from cloning, undo operations or newly opened documents (we had stray pointers to SPPaths before that made Inkscape crash). (bzr r3239)
Diffstat (limited to 'src/attributes.h')
-rw-r--r--src/attributes.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/attributes.h b/src/attributes.h
index fa492d978..9e658f562 100644
--- a/src/attributes.h
+++ b/src/attributes.h
@@ -112,6 +112,11 @@ 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
/* SPEllipse */
SP_ATTR_R,
SP_ATTR_CX,