Zooming into a canvas

BlitzMax Forums/MaxGUI Module/Zooming into a canvas

Snixx(Posted 2010) [#1]
I have found some code but its more for a zoomed viewport rather than actually an entire zoomed canvas. I have a map editor but ofc I would like to be able to zoom this in and out at the cursor location if possible (mouse x and y)

Any tips on this?


jsp(Posted 2010) [#2]
Since the last BMax version we have SetVirtualResolution( width#,height# ), that should do the trick.