Quote:
Originally Posted by Ariel_Z
I guess you know them
|
Thanks, I didn't.
The AlphaBlend API function does the same as AlphaBlend already in ImageLibEx and GDI+Desktop which is a constant blend. Theoretically the AlphaBlend API can deal with individual pixel alpha but in practice the CF bitmap loading process strips any alpha information so you can't easily get the alpha information into the managed world on the device. What Byak@ wants is to use png images with individual pixel alpha.
The COM interface article looks more interesting. Although I wouldn't attempt to interface to the COM exposure of GDI+ on the device (I hate COM and do this stuff for pleasure not pain!) the presence of pixel alpha capability in the COM Iimage does indicate that somewhere in the functions available to P/Invoke there
might be a chance. I didn't see it on a very quick scan so I'll see if it's there if/when I look more closely at it - unless you want to take a stab at it first

.