Distorting oImage

Distorting oImage

Postby Ollie » Thu Jul 12, 2007 7:35 am

I have an Image defined, but if the image chosen doesn't match the width to height ratio, the image gets distorted. How can I shrink the image to fit the image box without distorting it?
Many thanks
Ollie.

Using:
xHarbour Compiler build 1.2.1 (SimpLex) (Rev. 6406)
Borland C++ 5.5.1
FWH 9.04 (2009 Apr)
Ollie
 
Posts: 233
Joined: Sat Dec 30, 2006 6:10 am

Postby StefanHaupt » Fri Jul 13, 2007 7:35 am

You can use the clause ADJUST
kind regards
Stefan
StefanHaupt
 
Posts: 824
Joined: Thu Oct 13, 2005 7:39 am
Location: Germany

Postby Ollie » Fri Jul 13, 2007 2:20 pm

Thank you. (I actually had the ADJUST clause, the problem was solved when I removed it.)

Thanks again.
Many thanks
Ollie.

Using:
xHarbour Compiler build 1.2.1 (SimpLex) (Rev. 6406)
Borland C++ 5.5.1
FWH 9.04 (2009 Apr)
Ollie
 
Posts: 233
Joined: Sat Dec 30, 2006 6:10 am


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 122 guests