Hi all! I am a creator of
sharedwg.com. And i'm using paper.js for painting features.
But i don't really understand how can i create "zoom to fit" tool.
So i need to zoom in if there are small pictute on canvas, or zoom out if there meny paths and rasters all around the canvas.
Is anybody have any ideas about that?