文件名称:jianbianbeijingse

介绍说明--下载内容均来自于网络,请自行研究使用

在安装程序和许多游戏、屏幕保护程序中,经常有背景渐变的效果(一幅图象渐渐的消失,同时另一幅图象渐渐显示出来)。如何实现这种效果呢?在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.
(系统自动生成,下载前可以参看下载内容)

下载文件列表





源代码\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

......\...\GradualChange.rc2

......\...\GradualChangeDoc.ico

......\...\Toolbar.bmp

......\res

源代码

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度更多...
  • 请直接用浏览器下载本站内容,不要使用迅雷之类的下载软件,用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.

相关评论

暂无评论内容.

发表评论

*主  题:
*内  容:
*验 证 码:

源码中国 www.ymcn.org