Hi,
In my app, I was testing how large load Skia can handle without dropping performance.
My case only involves drawing vectors (lines, paths, curves etc), no pictures. I am using SKPicture to save all the drawing commands and reusing it over and over.
I have also found out that I can handle user zoom in/out and panning - by applying required transformation on the CanvasView instead of applying it on the SKPicture.
Now, my problem is that the scale transformation also applies to the stroke width of the SKPicture. Specifying an SKPaint in the DrawPicture method doesn't effect the stroke width. As a result, I have to regenerate the SKPicture on every scale change to avoid stroke width getting too thick ot too thin.
Is there any way around this?
Thanks.