image.setPixelSize(2*c, 2*d + "px"). I'm not sure how if that does or does not interfere with visible rect - you'll have to test that out.
On Sun, Apr 19, 2009 at 6:56 PM, Yifan <heavens...@gmail.com> wrote: > > If I have the following code: > > image = new Image(url); > image.setVisibleRect( a, b, c, d); > > is it possible that I can resize the area to 2c X 2d which will > enlarge the picture in the viewport? > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---