[Interest] SVG2 Mesh Gradient - will be implemented? When?
annulen at yandex.ru
Mon Jan 9 16:37:39 CET 2017
09.01.2017, 18:16, "Shawn Rutledge" <shawn.rutledge at qt.io>:
>> On 9 Jan 2017, at 16:04, Serge K via Interest <Interest at qt-project.org> wrote:
>> This feature existed in Inkscape for long time before but was "hidden" (possible open by editing some config files). In latest version of Inkscape 0.92 this very useful feature appeared as open. And it existed in Adobe Illustrator for years. This is a standard svg2 feature allowing create "conical" gradients in single closed objects. Even it allows create curved gradients. This helps draw many 3D-like looking objects, natural looking dial knobs and so on. But current QSvgRenderer does not support this feature. I just tested - it draws nothing if Mesh gradient is used. So... Are there plans for this feature in QSvgRenderer? Does anybody work on it?
> No, nobody is working on QtSvg, unfortunately. SVG Tiny is supported, and lots of other cool stuff is omitted.
> If you want a real up-to-date SVG renderer you’ll have to look elsewhere… webengine for example.
QtWebKit can be used to paint SVG anywhere with user-supplied QPainter, and also does not require launching background processes to do that.
Though neither WebKit nor Chromium support mesh gradients currently. You can count on decent SVG 1.1 (not tiny) implementation, though.
More information about the Interest