文件名称:TransparentTest
- 所属分类:
- 图形图像处理(光照,映射..)
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2015-10-26
- 文件大小:
- 495kb
- 下载次数:
- 0次
- 提 供 者:
- hon***
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
包含透明色的位图的绘制方法有多种,最简单的方法是调用现成的函数:TransparentBlt,也可以通过自己的代码实现类似TransparentBlt的功能,实现过程也有两种形式,一种是事先做一张掩码位图,另一种是动态生成掩码位图。本程序采用生成掩码位图绘制具有透明区域位图的方法。
-There are a variety of methods to draw a clear color, the most simple way is to call the ready-made functions: TransparentBlt, you can also achieve the function of similar TransparentBlt through their own code, the process also has two forms, one is to do a pre mask bitmap, and the other is dynamically generated mask bitmap. This program uses the method of generating a mask bitmap to draw a transparent area bitmap.
-There are a variety of methods to draw a clear color, the most simple way is to call the ready-made functions: TransparentBlt, you can also achieve the function of similar TransparentBlt through their own code, the process also has two forms, one is to do a pre mask bitmap, and the other is dynamically generated mask bitmap. This program uses the method of generating a mask bitmap to draw a transparent area bitmap.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
TransparentTest\Debug\TransparentBltTest.exe
...............\res\bk.bmp
...............\...\football.bmp
...............\...\TransparentBltTest.ico
...............\...\TransparentBltTest.rc2
...............\resource.h
...............\StdAfx.cpp
...............\StdAfx.h
...............\TransparentBltTest.clw
...............\TransparentBltTest.cpp
...............\TransparentBltTest.dsp
...............\TransparentBltTest.dsw
...............\TransparentBltTest.h
...............\TransparentBltTest.ncb
...............\TransparentBltTest.opt
...............\TransparentBltTest.plg
...............\TransparentBltTest.rc
...............\TransparentBltTestDlg.cpp
...............\TransparentBltTestDlg.h
...............\Debug
...............\res
TransparentTest