Hi all:
      I  want to blit an surface which contain some pixel(its alphavalue = 0) 
,but on the destination surface those pixel appear to be black.Any way to 
make those pixel to be transparent on destination surface? Fore Example:
      
     1. I create an 200*200 , pixelformat=argb source surface,then I set 
foreground color to red,and draw an triangle at (0,0),(200,100),(0,200) on 
this surface.
     2. set destination surface blittingflag DSBLIT_BLEND_ALPHACHANNEL
     3. blit source surface to destination surface 
     As a result,an black rectangle with an red trangle in it on destination 
surface .How do I get rid of those boring black pixel?
     
      Thanks in advance!

 



--
Info: To unsubscribe send a mail to [EMAIL PROTECTED] with
"unsubscribe directfb-users" as subject.

Reply via email to