Re: [Gambas-user] fit jpg into drawingarea

2014-07-08 Thread bill-lancaster
Sorry, I wasn't displaying the whole of the drawingarea! -- View this message in context: http://gambas.8142.n7.nabble.com/fit-jpg-into-drawingarea-tp47333p47343.html Sent from the gambas-user mailing list archive at Nabble.com. -

Re: [Gambas-user] fit jpg into drawingarea

2014-07-08 Thread Benoît Minisini
Le 08/07/2014 23:38, bill-lancaster a écrit : > Thanks - please see attached > a3-0.gz > Everything works as expected there. -- Benoît Minisini -- Open source busin

Re: [Gambas-user] fit jpg into drawingarea

2014-07-08 Thread bill-lancaster
Thanks - please see attached a3-0.gz -- View this message in context: http://gambas.8142.n7.nabble.com/fit-jpg-into-drawingarea-tp47333p47340.html Sent from the gambas-user mailing list archive at Nabble.com.

Re: [Gambas-user] fit jpg into drawingarea

2014-07-08 Thread bill-lancaster
-- View this message in context: http://gambas.8142.n7.nabble.com/fit-jpg-into-drawingarea-tp47333p47339.html Sent from the gambas-user mailing list archive at Nabble.com. -- Open source business process management su

Re: [Gambas-user] fit jpg into drawingarea

2014-07-08 Thread bill-lancaster
Thanks, please see attached. -- View this message in context: http://gambas.8142.n7.nabble.com/fit-jpg-into-drawingarea-tp47333p47338.html Sent from the gambas-user mailing list archive at Nabble.com. -- Open source b

Re: [Gambas-user] fit jpg into drawingarea

2014-07-08 Thread Benoît Minisini
Le 08/07/2014 14:23, bill-lancaster a écrit : > I thought I'd sorted this a long time ago but need some help. > > hImage = Image.Load("/home/xxx.jpg") '(the jpg file is a scan of an A4 > document) > Public Sub DrawingArea1_Draw() >Draw.Image(hImage, 0, 0) > End > > Whatever I try I can nev

[Gambas-user] fit jpg into drawingarea

2014-07-08 Thread bill-lancaster
I thought I'd sorted this a long time ago but need some help. hImage = Image.Load("/home/xxx.jpg") '(the jpg file is a scan of an A4 document) Public Sub DrawingArea1_Draw() Draw.Image(hImage, 0, 0) End Whatever I try I can never fit the jpg image into the drawing area, this is the nearest