SVG icon indicating copy to clipboard operation
SVG copied to clipboard

Pattern blurs when SVG is drawn at larger scale and gradient opacity not the same as rendered in browser.

Open markbeazley opened this issue 6 years ago • 1 comments

I have a SVG with a 100x100 viewbox, and if I try and render it to a Win forms picture box at a larger size the pattern seems blur, I've tested the same file in in Chrome, Firefox and even Internet Explorer and all 3 render the SVG looking crisp and pretty much identical.

Expected:

image

Result:

image

The File: mesh.zip

I've also noticed the gradient on top of the pattern seems to fade out earlier in the browsers but not when I render it with this library to a Picture Box.

markbeazley avatar Apr 12 '19 14:04 markbeazley

This looks like a scaling problem of the pattern - the pattern is created in the original size (in this case the 8x8 rectangles) and afterwards blown up to the actual size - at least that is what it looks to me, I'm not really understanding the code yet. I may have a go at this sometime later...

mrbean-bremen avatar Apr 12 '19 19:04 mrbean-bremen