PDA

View Full Version : SVGs with CSS support in QtSvg



lfranchi
27th December 2007, 02:44
hey all,

I was wondering if the QtSvg classes had support for the SVG CSS styling as defined here:

http://www.w3.org/TR/SVG11/styling.html#StylingWithCSS

A blog post of zrusin's a year or so ago made it seem that Qt4.2 would indeed support this part of the spec, but I have been unable to find anything in the API documentation that leads me to believe so.

thanks,
leo

marcel
27th December 2007, 05:20
Yes, CSS is supported, at least in 4.3.3 and 4.4.0tp1. If you want to dig further, start at src/svg/qsvghandler.cpp, with the QSvgAttributes structure.