summaryrefslogtreecommitdiffstats
path: root/src/sp-root.cpp
diff options
context:
space:
mode:
authorTavmjong Bah <tavmjong@free.fr>2014-12-16 14:05:47 +0000
committertavmjong-free <tavmjong@free.fr>2014-12-16 14:05:47 +0000
commit0533bf991e946b09053753566f209940f500d368 (patch)
tree2397d3e048ae8393126d928e0f163ee3638d722c /src/sp-root.cpp
parentRead 'context-fill' and 'context-stroke' keywords. (diff)
downloadinkscape-0533bf991e946b09053753566f209940f500d368.tar.gz
inkscape-0533bf991e946b09053753566f209940f500d368.zip
Debugging routines to print out XML, SP Object, and Display Item trees.
(bzr r13802)
Diffstat (limited to 'src/sp-root.cpp')
-rw-r--r--src/sp-root.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/sp-root.cpp b/src/sp-root.cpp
index 12570e03e..85582e209 100644
--- a/src/sp-root.cpp
+++ b/src/sp-root.cpp
@@ -375,6 +375,15 @@ Inkscape::DrawingItem *SPRoot::show(Inkscape::Drawing &drawing, unsigned int key
g->setChildTransform(this->c2p);
}
+ // Uncomment to print out XML tree
+ // getRepr()->recursivePrintTree(0);
+
+ // Uncomment to print out SP Object tree
+ // recursivePrintTree(0);
+
+ // Uncomment to print out Display Item tree
+ // ai->recursivePrintTree(0);
+
return ai;
}