pivot-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Brown <gk_br...@verizon.net>
Subject Re: Zooming an image
Date Fri, 18 Feb 2011 18:20:53 GMT
If you set the "fill" style to true, resizing the ImageView will scale the image. 

On Feb 18, 2011, at 12:41 PM, JohnRodey wrote:

> I have a component in my GUI that I want to use to display an image and
> support the following features.  
> I want to support:
> Fit to width/height
> Custom zoom in/out
> Setting image back to original image size
> Is there any examples dealing with zooming? If not can you point me in the
> right direction. Do I need to get the graphics and redraw it myself?  Or is
> there some utility method?
> I imagine changing the size will only clip the image?
> Thanks
> -- 
> View this message in context: http://apache-pivot-users.399431.n3.nabble.com/Zooming-an-image-tp2528274p2528274.html
> Sent from the Apache Pivot - Users mailing list archive at Nabble.com.

View raw message