很多方法。用Alpha运算也可以。你找本图形方面的书看看,了解那些算法。再行编程吧

解决方案 »

  1.   

    Private Declare Function TransparentBltAPI Lib "msimg32.dll" Alias "TransparentBlt" _
        (ByVal hdcDest As Long, ByVal x As Long, ByVal y As Long, _
        ByVal nWidth As Long, ByVal nHeight As Long, _
        ByVal hdcSrc As Long, ByVal xSrc As Long, ByVal ySrc As Long, _
        ByVal nWidthSrc As Long, ByVal nHeightSrc As Long, _
        ByVal crTrans As Long) As Boolean
      

  2.   

    http://expert.csdn.net/Expert/topic/1293/1293155.xml?temp=.1621057