# What's the word on SVG filters?

**URL:** <https://forum.juce.com/t/whats-the-word-on-svg-filters/23557>\
**Category:** General JUCE discussion\
**Created:** [August 1, 2017, 5:45pm UTC](https://forum.juce.com/t/whats-the-word-on-svg-filters/23557 "2017-08-01T17:45:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![holy-city](https://avatars.discourse-cdn.com/v4/letter/h/8491ac/32.png) [@holy-city](https://forum.juce.com/u/holy-city)\
**Post date:** [August 1, 2017, 5:45pm UTC](https://forum.juce.com/t/whats-the-word-on-svg-filters/23557/1 "2017-08-01T17:45:41Z")

</div>

I’m currently working with some SVG files for various widgets. I notice that using Drawable::createFromSVG doesn’t account for any SVG filters, which normally is no big deal. The exception is an inner shadow, which will cause the entire shadowed region to be rendered black.

There are workarounds, like using multiple drawables for creating different layers, using gradient fills, etc, but it’s quite a hassle and doesn’t look nearly as good as a rendered SVG in a browser. I’m just wondering if there is a timeline or plans to implement the filtering extensions for SVG in JUCE. I read some posts from a few years back that mentioned it…

sidenote: in the `Drawable` documentation it mentions that using `drawWithin` will be deprecated in the future… if that’s the case, how will I be able to use a Drawable instance in subclasses of LookAndFeel for drawing different widgets?
