Original Post
Hi guys, I got a rectangle having a color and an alpha value; I have to draw this rectangle on a surface, changeing the rect color based on its alpha value (my platform support only RGB colors drawing). I can use only bitewise operators to know the final color to draw. How can I do?? Explanation: using GDI primitives, I have to create a Canvas window supporting alpha blending. I don't know how to use Logical operator to compine background colour and objects colour to implement this feature. Someone can (understand me and) help me ? bye