How to create a mask bitmap by program?
| Thu, 2007-11-15 07:42 | |
|
Hi there, I tried to create a mask bitmap by program but it failed. My code looks like: CFbsBitmap* mainBitmap = ... // load from a fileFinally I use the following code to draw the bitmap: gc.DrawBitmapMasked(size_dest, mainBitmap, size_source, maskBitmap, EFalse);But the image become black in the screen, is there any wrong with my code? Does DrawBitmapMasked support varying transparency? Thanks very much! |
|






Forum posts: 1142
It does, if you run a symbian os of a late model.
I don't remember exactly when it started supporting it, but I think it was somewhere towards the end of in 2nd edition... (FP2, FP3 or something)
And for UIQ, that would mean not in UIQ2, but supported in UIQ3