文件名称:jianbianbeijingse
-
所属分类:
- 标签属性:
- 上传时间:2013-05-11
-
文件大小:1.48mb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
在安装程序和许多游戏、屏幕保护程序中,经常有背景渐变的效果(一幅图象渐渐的消失,同时另一幅图象渐渐显示出来)。如何实现这种效果呢?在windows(GDI)环境下,实现位图的淡入淡出的方法有三种:
1. 调色板动画:该方法速度很快,但只能用于256色的图形,而且不易实现渐隐效果,不推荐使用;
2. 模式画刷:该方法实现比较简单,但是效果不如其余两种;
3. 动画法:该方法效果很好,但是速度要稍慢一些。
本例采用“动画法”以两幅位图为例进行讲解,实现从黑色背景中逐渐显现第一幅图片,之后
第一幅图片逐渐消隐、第二幅图片逐渐显现的渐变效果。
-Installer and many games, screen savers, often have the effect of background gradient (an image gradually disappear, while the other one image is gradually displayed). How to achieve this effect? Windows (GDI) environment, bitmap fade in three ways: 1. The palette animation: This method is fast, but can only be used for 256-color graphics, but not easy to achieve fade effect, is not recommended 2. The pattern brush: This method is relatively simple, but the effect is not as good as the other two 3. Animation method: This method works well, but the speed is slightly slower. This example uses " animation" example to explain the two bitmaps, the first picture is gradually emerging from the black background, gradually blanking after the first picture, the second picture is gradually emerging gradient effect.
1. 调色板动画:该方法速度很快,但只能用于256色的图形,而且不易实现渐隐效果,不推荐使用;
2. 模式画刷:该方法实现比较简单,但是效果不如其余两种;
3. 动画法:该方法效果很好,但是速度要稍慢一些。
本例采用“动画法”以两幅位图为例进行讲解,实现从黑色背景中逐渐显现第一幅图片,之后
第一幅图片逐渐消隐、第二幅图片逐渐显现的渐变效果。
-Installer and many games, screen savers, often have the effect of background gradient (an image gradually disappear, while the other one image is gradually displayed). How to achieve this effect? Windows (GDI) environment, bitmap fade in three ways: 1. The palette animation: This method is fast, but can only be used for 256-color graphics, but not easy to achieve fade effect, is not recommended 2. The pattern brush: This method is relatively simple, but the effect is not as good as the other two 3. Animation method: This method works well, but the speed is slightly slower. This example uses " animation" example to explain the two bitmaps, the first picture is gradually emerging from the black background, gradually blanking after the first picture, the second picture is gradually emerging gradient effect.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
源代码/GradualChange.aps
源代码/GradualChange.clw
源代码/GradualChange.cpp
源代码/GradualChange.dsp
源代码/GradualChange.dsw
源代码/GradualChange.h
源代码/GradualChange.ncb
源代码/GradualChange.opt
源代码/GradualChange.plg
源代码/GradualChange.rc
源代码/GradualChangeDoc.cpp
源代码/GradualChangeDoc.h
源代码/GradualChangeView.cpp
源代码/GradualChangeView.h
源代码/MainFrm.cpp
源代码/MainFrm.h
源代码/ReadMe.txt
源代码/Resource.h
源代码/StdAfx.cpp
源代码/StdAfx.h
源代码/bmp1.bmp
源代码/bmp2.bmp
源代码/res/GradualChange.ico
源代码/res/GradualChange.rc2
源代码/res/GradualChangeDoc.ico
源代码/res/Toolbar.bmp
源代码/res
源代码
源代码/GradualChange.clw
源代码/GradualChange.cpp
源代码/GradualChange.dsp
源代码/GradualChange.dsw
源代码/GradualChange.h
源代码/GradualChange.ncb
源代码/GradualChange.opt
源代码/GradualChange.plg
源代码/GradualChange.rc
源代码/GradualChangeDoc.cpp
源代码/GradualChangeDoc.h
源代码/GradualChangeView.cpp
源代码/GradualChangeView.h
源代码/MainFrm.cpp
源代码/MainFrm.h
源代码/ReadMe.txt
源代码/Resource.h
源代码/StdAfx.cpp
源代码/StdAfx.h
源代码/bmp1.bmp
源代码/bmp2.bmp
源代码/res/GradualChange.ico
源代码/res/GradualChange.rc2
源代码/res/GradualChangeDoc.ico
源代码/res/Toolbar.bmp
源代码/res
源代码
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.