随笔分类 - 操作系统 / WIN32 API
摘要:AlphaBlend中目标DC的矩形范围设置错误,应为0,0,nWidth,nHeight;另外参考微软MSDN源码:Alpha Blending a BitmapThis topic has not yet been ratedRate this topicThe following code sample divides a window into three horizontal areas. Then it draws an alpha-blended bitmap in each of the window areas as follows:In the top area, cons
阅读全文
摘要:http://www.cnblogs.com/lisen/archive/2010/01/13/1646517.htmlAlphaBlend该函数显示拥有透明或半透明像素的位图。SyntaxBOOLAlphaBlend( HDC hdcDest,int nXOriginDest, intnYOriginDest, intnWidthDest, intnHeightDest,HDChdcSrc, intnXOriginSrc, intnYOriginSrc, intnWidthSrc, intnHeightSrc,BLENDFUNCTIONblendFunction );Parametersh.
阅读全文

浙公网安备 33010602011771号