summaryrefslogtreecommitdiffstats
path: root/src/svg/stringstream-test.h
diff options
context:
space:
mode:
authorJohan B. C. Engelen <jbc.engelen@swissonline.ch>2008-03-22 19:11:02 +0000
committerjohanengelen <johanengelen@users.sourceforge.net>2008-03-22 19:11:02 +0000
commit655fcebb893b44019786e7e9c7229975024f4d97 (patch)
tree24a43ab726de543ef0f30f4d490d872d98ef3c10 /src/svg/stringstream-test.h
parentNumeric values on test area (diff)
downloadinkscape-655fcebb893b44019786e7e9c7229975024f4d97.tar.gz
inkscape-655fcebb893b44019786e7e9c7229975024f4d97.zip
* add RegisteredTransformedPoint widget, that transforms the point before displaying/writing. This in order to keep them in SVG coordinate system in XML, but in canvas coord system in the spinbox
* move Geom::Point XML writing to central place in ostringstream * add verb for LPE context (bzr r5165)
Diffstat (limited to 'src/svg/stringstream-test.h')
-rw-r--r--src/svg/stringstream-test.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/svg/stringstream-test.h b/src/svg/stringstream-test.h
index 6612f3fd2..a8da13150 100644
--- a/src/svg/stringstream-test.h
+++ b/src/svg/stringstream-test.h
@@ -1,5 +1,6 @@
#include <cxxtest/TestSuite.h>
#include "svg/stringstream.h"
+#include <2geom/point.h>
template<typename T>
static void
@@ -45,6 +46,7 @@ public:
svg_test_datum(" my string ", " my string ");
svg_test_datum((signed char const *) "023", "023");
svg_test_datum((unsigned char const *) "023", "023");
+ svg_test_datum(Geom::Point(1.23, 3.45), "1.23,3.45");
}
void testConcat()