PDA

View Full Version : noob question :P



Furmiga
02-04-2004, 02:57 PM
How to make a image alpha blended ? i mean is there any function that allow me to set how much alpha i can add to a image ? i am trying to make a :oops: silly effect using a background and some images to forge lights on / off. any ideas ?

thx in advance

Furmiga
02-04-2004, 04:31 PM
i learned how to make a alpha by using the background as alpha using the VTDTool but can i create a rect then fill it with a alpha color ? like 0 to 255 of alpha ? can u guys help me ?

jansoft
05-04-2004, 12:16 PM
did you mean


PowerDraw1.FillRect(x1,y1,x2,y2,youralpha shl 24 + yourcolor,effectalpha);
//for example blue rect
PowerDraw1.FillRect(30,30,200,200,$80FF0000,effect alpha);