 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Diana Schulz Guest
|
Posted: Fri May 04, 2007 3:13 pm Post subject: On a background picture a picture with transparence |
|
|
Hi, the title already says everything about my problem. I have a
Hintegrundbild in a TImage on which picture another to I would like to
paint which should be painted, however, with transparence, thus it
looks like in the example!
Example:
http://img222.imageshack.us/img222/4082/beispiel1nc3.jpg
Thx Diana |
|
| Back to top |
|
 |
GrandmasterB Guest
|
Posted: Sat May 05, 2007 12:56 am Post subject: Re: On a background picture a picture with transparence |
|
|
"Diana Schulz" <rxoa0Xfa (AT) googlemail (DOT) com> wrote in message
news:mn.22dd7d75e704878f.57524 (AT) googlemail (DOT) com...
| Quote: | Hi, the title already says everything about my problem. I have a
Hintegrundbild in a TImage on which picture another to I would like to
paint which should be painted, however, with transparence, thus it looks
like in the example!
|
How you do this depends on the format of the picture you want to put onto
the background. If it's a 32-bit bitmap with an alpha channel defined, you
can use the alphablend() function of the Windows GDI. If you have a 'mask'
color in the bitmap, you can use the TBitmap's Transparent functionality. |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|