summaryrefslogtreecommitdiffstats
path: root/src/svg/qsvgnode_p.h
diff options
context:
space:
mode:
authorKim Motoyoshi Kalland <kim.kalland@nokia.com>2009-07-30 12:33:41 (GMT)
committerKim Motoyoshi Kalland <kim.kalland@nokia.com>2009-07-30 13:46:03 (GMT)
commit54ed2a3db855aab8219f9588e241d3110bdddfb1 (patch)
treecf87f833bcf872f9677fcc0740d78d3e285e64d9 /src/svg/qsvgnode_p.h
parent5aa46b1052b05d34cbfef175caaf941928520964 (diff)
downloadQt-54ed2a3db855aab8219f9588e241d3110bdddfb1.zip
Qt-54ed2a3db855aab8219f9588e241d3110bdddfb1.tar.gz
Qt-54ed2a3db855aab8219f9588e241d3110bdddfb1.tar.bz2
Fixed font attribute inheritence, text and textArea elements in QtSvg.
Text used to be formatted during the parsing of the SVG file, but because the text can be referenced by a 'use' element, the text formatting is not known at this point in time. Now, font attributes can be inherited from 'use' elements, and the text is formatted each time it is drawn. Reviewed-by: Tor Arne
Diffstat (limited to 'src/svg/qsvgnode_p.h')
-rw-r--r--src/svg/qsvgnode_p.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/svg/qsvgnode_p.h b/src/svg/qsvgnode_p.h
index f203ea7..315f228 100644
--- a/src/svg/qsvgnode_p.h
+++ b/src/svg/qsvgnode_p.h
@@ -86,6 +86,7 @@ public:
RECT,
TEXT,
TEXTAREA,
+ TSPAN,
USE,
VIDEO
};