From 0533bf991e946b09053753566f209940f500d368 Mon Sep 17 00:00:00 2001 From: Tavmjong Bah Date: Tue, 16 Dec 2014 15:05:47 +0100 Subject: Debugging routines to print out XML, SP Object, and Display Item trees. (bzr r13802) --- src/sp-object.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/sp-object.h') diff --git a/src/sp-object.h b/src/sp-object.h index d08add0bf..669dfc713 100644 --- a/src/sp-object.h +++ b/src/sp-object.h @@ -854,6 +854,8 @@ protected: public: virtual void read_content(); + + void recursivePrintTree(unsigned level = 0); // For debugging }; -- cgit v1.2.3 From f01a18216e26fd87a53188018e03527c7fdf8a57 Mon Sep 17 00:00:00 2001 From: Tavmjong Bah Date: Tue, 23 Dec 2014 10:25:08 +0100 Subject: Use gray for 'context-fill' and 'context-stroke' in marker selector. Fix rendering bug when elements with 'context-fill' and 'context-stroke' are inside groups. (bzr r13822) --- src/sp-object.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/sp-object.h') diff --git a/src/sp-object.h b/src/sp-object.h index 669dfc713..ff80eaefc 100644 --- a/src/sp-object.h +++ b/src/sp-object.h @@ -267,6 +267,11 @@ public: */ SPStyle *style; + /** + * Represents the style that should be used to resolve 'context-fill' and 'context-stroke' + */ + SPStyle *context_style; + /// Switch containing next() method. struct ParentIteratorStrategy { static SPObject const *next(SPObject const *object) { -- cgit v1.2.3