FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Distorting oImage
Posts: 233
Joined: Sat Dec 30, 2006 06:10 AM
Distorting oImage
Posted: Thu Jul 12, 2007 07: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)
Posts: 824
Joined: Thu Oct 13, 2005 07:39 AM
Distorting oImage
Posted: Fri Jul 13, 2007 07:35 AM

You can use the clause ADJUST

kind regards

Stefan
Posts: 233
Joined: Sat Dec 30, 2006 06:10 AM
Distorting oImage
Posted: Fri Jul 13, 2007 02: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)

Continue the discussion