随笔分类 -  操作系统 / 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 阅读全文
posted @ 2012-02-13 15:53 bigbigtree 阅读(516) 评论(0) 推荐(1)
摘要: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. 阅读全文
posted @ 2012-02-10 14:05 bigbigtree 阅读(3593) 评论(0) 推荐(0)