MIRROR

MIRROR

Postby Silvio » Thu Nov 29, 2007 11:08 am

How create an mirror Image ?
Best Regards, Saludos

Falconi Silvio
User avatar
Silvio
 
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy

Postby Silvio » Thu Nov 29, 2007 12:01 pm

Perhaps I found the solution

FreeImage_RotateClassic(DIB, Angle)

Declare Function FreeImage_RotateClassic Lib "FreeImage.dll" Alias "_FreeImage_RotateClassic@12" (ByVal DIB As Long, ByVal Angle As Double) As Long
Best Regards, Saludos

Falconi Silvio
User avatar
Silvio
 
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy

Postby Enrico Maria Giordano » Thu Nov 29, 2007 1:45 pm

No, a rotation is not a mirroring. Try with FreeImage_FlipHorizontal().

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8716
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Postby Silvio » Thu Nov 29, 2007 4:20 pm

ok where I can found all the parameters for it func ?
Best Regards, Saludos

Falconi Silvio
User avatar
Silvio
 
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy

Postby StefanHaupt » Thu Nov 29, 2007 4:56 pm

Silvio,

here you can find the documentation of Freeimage

http://downloads.sourceforge.net/freeimage/FreeImage3100.pdf
kind regards
Stefan
StefanHaupt
 
Posts: 824
Joined: Thu Oct 13, 2005 7:39 am
Location: Germany

Postby Silvio » Thu Nov 29, 2007 5:27 pm

can you write the wrapper for it ?
FreeImage_FlipHorizontal
DLL_API BOOL DLL_CALLCONV FreeImage_FlipHorizontal(FIBITMAP *dib);
Best Regards, Saludos

Falconi Silvio
User avatar
Silvio
 
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Maurizio and 55 guests