From: D.V. <dav...@gm...> - 2011-09-02 06:31:33
|
2011/9/1 Dave Tapley <duk...@gm...>: > On 1 September 2011 12:14, D.V. <dav...@gm...> 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: > http://hackage.haskell.org/packages/archive/wxcore/0.12.1.7/doc/html/Graphics-UI-WXCore-WxcClassesAL.html#g:105 Thanks, that file had the function I needed, turned out I just had something work with dcSetUserScale. That's not to say that my troubles are over, but now I can move forward ! David. |