summaryrefslogtreecommitdiffstats
path: root/src/svg
diff options
context:
space:
mode:
authorMarkus Engel <markus.engel@tum.de>2013-04-10 18:44:21 +0000
committerMarkus Engel <markus.engel@tum.de>2013-04-10 18:44:21 +0000
commit1f096398da95ef2c74a89e53c64d9cd75911b6eb (patch)
tree58b963c4ea018649d68d1112134cc85de5fec564 /src/svg
parentRemoved unused (ancient!) code. (diff)
downloadinkscape-1f096398da95ef2c74a89e53c64d9cd75911b6eb.tar.gz
inkscape-1f096398da95ef2c74a89e53c64d9cd75911b6eb.zip
various little changes
(bzr r11608.1.93)
Diffstat (limited to 'src/svg')
-rw-r--r--src/svg/svg-length.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/svg/svg-length.h b/src/svg/svg-length.h
index 6c8f1e1dd..3832a4eb5 100644
--- a/src/svg/svg-length.h
+++ b/src/svg/svg-length.h
@@ -37,9 +37,16 @@ public:
LAST_UNIT = PERCENT
};
+ // The object's value is valid / exists in SVG.
bool _set;
+
+ // The unit of value.
Unit unit;
+
+ // The value of this SVGLength as found in the SVG.
float value;
+
+ // The value in pixels (value * pixels/unit).
float computed;
float operator=(float v) {