Canvas: Zooming and Panning
I am struggling to make this canvas drawing to zoom in and out and panning it. There are some examples with panning and zooming images but my case is different and I don't know what or how should I do it in my case cause it is not images. I would appreciate any tips or any library that you could suggest?
This is a screenshot of my drawing that I am trying to make it zoom in mouse cursor: