On 1 September 2011 12:14, D.V. <dav.vire@gmail.com> wrote:
Bonjour List,

If there a way to draw a bitmap so it fits a specific size (rescaling
it if needed ?)

Erm, well it appears that imageScale is wrapped by wxcore (I'm not sure how familiar you are with wxHaskell?), so it *might* just work, see here:

There is a basic image view program here:

So it might be fun so see if you can use imageScale easily with that, you could even extend the sample code to provide zoom functionality and send a patch back to the list :)

Good luck,


I didn't find a way in the docs, but the documentation for drawBitmap
is thin, wxWidget help didn't help much.

Thanks !


Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better
price-free! And you'll get a free "Love Thy Logs" t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
wxhaskell-users mailing list