Alpha Blending using IDisplay/IBitmap/IGraphics | developer.brewmp.com Alpha Blending using IDisplay/IBitmap/IGraphics | developer.brewmp.com

Developer

Alpha Blending using IDisplay/IBitmap/IGraphics

Forums:

Hello Brew experts,

Am almost a newbie to Brew, I tried searching the forum for sometime, however could not find an answer that worked for me. Here is my question.

Is there a way i can alpha blend a certain portion of the screen region? For example, I have drawn an image on to the display and i would like to draw a semi transparent bar of 176x25 dimension programmatically without using an image.

I tried using IBitmap_GetPixel() and used alpha blending algorithm and use IBitmap_SetPixel to set the pixel back. Is there a way other than this to do this?

Would you guys be able to suggest some ways to do it?

Thanks
Ritz