Possible to use the new function ABPAINT with normal BMP ?

Possible to use the new function ABPAINT with normal BMP ?

Postby ukoenig » Fri May 16, 2008 11:36 am

Hello,

I did some more tests with the new function ABPAINT.
Could it be possible, to have a parameter set to .F.
to use a normal BMP as well ?
Because it is very easy to use, it would be just 1 function for all BMP's.
I used a normal BMP with a background BLACK
It works as well ( the 3. BMP is the normal BMP has been used )

Image

Best Regards

Uwe[/img]
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
User avatar
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany

Postby Antonio Linares » Sun May 18, 2008 8:30 am

Uwe,

What the .F. would be used for ?
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42122
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Same function for a 'normal' bitmap

Postby ukoenig » Sun May 18, 2008 9:48 am

Because the new function works as well with 'normal' bitmaps,
i mean to set a parameter ( as a sample .F. ),
not to do the calculations for alpha-blending and use / show the bitmap
just with transparent background.
I changed a 'normal' bitmap-background to black and it was transparent.
I think, it would work like the sample : < bmponbmp > with same effect.

oBmp:bPainted := {|| PaintTransparent ..........

Regards

Uwe
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
User avatar
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Rick Lipkin and 47 guests