|
项目描述: |
This program shows you how to average bitmaps together using something like a mask. You use an image that contains information on where forground bitmap is to be more opaque or more transparent. The program uses scanline to go through the bitmaps pixel by pixel but it is still smooth for reasonably small bitmaps. The program is well documented but it might still be a little confusing.
Alpha Blending这个程序演示了如何使用掩码来均衡位图。你使用的图片的前景可以变得更模糊或更透明。这个程序使用扫描线来遍历位图的像素,但是如果是小图片,则会更加光滑。程序有良好的文档,但可能还是有些难以理解。
来源: http://www.programmersheaven.com/zone2/cat262/22143.htm |
类别: |
|
发布者:
cbd002
|
|
最新发布源码包 |
软件包 |
版本号 |
日期 |
本地下载 |
22143 |
 1.0  |
2004-02-26 |
下载 |
|
|