Replies: 1 comment
-
How are you loading the SVG? SkiaSharp does not have native SVG support so the loading library may be affecting this. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi folks,
I attempted to read an SVG object from a file, scale it, and then save it as an image using canvas.DrawPicture. Within my SVG definition, I utilized vector-effect="non-scaling-stroke" to maintain an unchanged stroke during scaling.
However, the scaled object in the output file appears to have a stroke that is still influenced by scaling (it appears that vector-effect="non-scaling-stroke" was not considered).
What SVG version is supported by SkiaSharp 1.1/2.0?
Beta Was this translation helpful? Give feedback.
All reactions