Hi,
I have an SVG from our graphic designer that has some gradients and filters to create a shadow. JUCE’s Drawable is not rendering all the elements of the SVG correclty.
See the difference here:

(left: JUCE’s Drawable, right: Gapplin preview)
Is there something we can do differently when exporting the SVG file, or when creating/rendering the drawable? We’re using Drawable::createFromSVG() to parse the XML and Drawable::drawWithin to render it.
Here’s the SVG content for reference:
<svg width="29" height="28" viewBox="0 0 29 28" fill="none" xmlns="http://www.w3.org/2000/svg">
<g filter="url(#filter0_d)">
<circle cx="9.61328" cy="9" r="7" fill="white"/>
<circle cx="9.61328" cy="9" r="7" fill="url(#paint0_radial)"/>
<circle cx="9.61328" cy="9" r="6.75" stroke="black" stroke-opacity="0.3" stroke-width="0.5"/>
</g>
<ellipse cx="9.61328" cy="9" rx="5" ry="5" transform="rotate(-180 9.61328 9)" fill="#FFD35B"/>
<ellipse cx="9.61328" cy="9" rx="5" ry="5" transform="rotate(-180 9.61328 9)" fill="url(#paint1_radial)"/>
<g filter="url(#filter1_d)">
<circle cx="9.61328" cy="9" r="7" fill="white"/>
<circle cx="9.61328" cy="9" r="7" fill="url(#paint2_radial)"/>
</g>
<ellipse cx="9.61328" cy="9" rx="5" ry="5" transform="rotate(-180 9.61328 9)" fill="#FFD35B"/>
<ellipse cx="9.61328" cy="9" rx="5" ry="5" transform="rotate(-180 9.61328 9)" fill="url(#paint3_radial)"/>
<defs>
<filter id="filter0_d" x="0.613281" y="0" width="28" height="28" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
<feFlood flood-opacity="0" result="BackgroundImageFix"/>
<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"/>
<feMorphology radius="1" operator="dilate" in="SourceAlpha" result="effect1_dropShadow"/>
<feOffset dx="5" dy="5"/>
<feGaussianBlur stdDeviation="3"/>
<feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.3 0"/>
<feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow"/>
<feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow" result="shape"/>
</filter>
<filter id="filter1_d" x="2.61328" y="2" width="17" height="17" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
<feFlood flood-opacity="0" result="BackgroundImageFix"/>
<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"/>
<feOffset dx="2" dy="2"/>
<feGaussianBlur stdDeviation="0.5"/>
<feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.3 0"/>
<feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow"/>
<feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow" result="shape"/>
</filter>
<radialGradient id="paint0_radial" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(7.32482 4.28846) rotate(52.9575) scale(17.877)">
<stop stop-color="#F35533"/>
<stop offset="1" stop-color="#8C321F"/>
</radialGradient>
<radialGradient id="paint1_radial" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(7.97867 5.63462) rotate(52.9575) scale(12.7693)">
<stop stop-color="#F35533"/>
<stop offset="1" stop-color="#AA3B23"/>
</radialGradient>
<radialGradient id="paint2_radial" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(7.32482 4.28846) rotate(52.9575) scale(17.877)">
<stop stop-color="#F35533"/>
<stop offset="1" stop-color="#8C321F"/>
</radialGradient>
<radialGradient id="paint3_radial" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(7.97867 5.63462) rotate(52.9575) scale(12.7693)">
<stop stop-color="#F35533"/>
<stop offset="1" stop-color="#AA3B23"/>
</radialGradient>
</defs>
</svg>



