*> When I look at the canvas class in GWT, it does not have methods to support zoom so I would have to write my own code for that functionality.*
You use the canvas context: Canvas myCanvas = Canvas.createIfSupported(); myCanvas.getContext2d().scale(2, 2); 🙂 On Thursday, 6 February 2025 at 7:58:21 am UTC+11 Neil Aggarwal wrote: > > The only zoom I see in smartgwt's canvas is "zoom overflow" settings > > > > I am sorry, I was not clear in my earlier message. Their DrawPane class > > has a method called setZoomLevel. > > > > They posted a demo of it: > > https://smartclient.com/smartgwt/showcase/?autotest=showcase#zoom_and_pan > > > > I have no idea how it works, I don’t need to. > > > > I used it in my app and it is working well. > > > > Thank you, > > Neil > > > > -- > > Neil Aggarwal, (972) 834-1565, http://www.propfinancing.com > > We offer 30 year loans on single family houses! > -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion visit https://groups.google.com/d/msgid/google-web-toolkit/b4e8345e-ae9b-4f08-a80f-3be50055077fn%40googlegroups.com.
