Page 1 of 1

Possible to use the new function ABPAINT with normal BMP ?

Posted: Fri May 16, 2008 11:36 am
by ukoenig
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]

Posted: Sun May 18, 2008 8:30 am
by Antonio Linares
Uwe,

What the .F. would be used for ?

Same function for a 'normal' bitmap

Posted: Sun May 18, 2008 9:48 am
by ukoenig
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