联盟首页 协同开发 共创软件 开放源码 软件工程 共创论坛 关于联盟
  您的位置 » 开放源码库【成熟 - 项目摘要 首页 | 分类源码 | 提交源码 | 下载统计 | 原创源码 | 成熟源码 | 代码片断
 
 Fading A Bitmap / PictureBox - 项目摘要
摘要 | 管理 | 论坛
文档 | 软件包

源码库中源码数量为19221
有贡献人员名单:

-= 更多 =-
  • ffdshow
  • jasperreports
  • PoolMan
  • Air Traffic Controller
  • virtualdub-win
  • CppUnit
  • Apache-SSL-Jserv
  • FCK editor
  • Async Professional
  • GLgraph
  • -= 更多 =-

    项目描述:
    The code works by creating a memory compatible DC and Bitmap to that of the picture within the PictureBox. The PictureBox is then cleared and has it's background set to various shades of gray (eventually black) - the bitmap is then 'blitted' to the PictureBox and each pixel is 'AND'ed with the background colour to achieve the fade effect.
    这段代码可以创建一个内存兼容的DC和一个位图,这个位图可以位于一个图片框中。接着清除图片框的内容,将它的背景设置成各种灰度级的灰色(最终为黑色),再将这一位图复制到图片框,每个像素和背景色进行“与”运算,取得色彩渐变的效果。
    来源: http://www.codeguru.com/vb_graphics/2007.shtml
    类别:
    发布者: cbd002

    最新发布源码包
    软件包 版本号 日期 本地下载
    2007_fadebmp  1.1  2004-03-07 下载

    原始下载连接(国外) http://www.codeguru.com/vb_graphics/2007_fadebmp.zip
    http://www.codeguru.com/code/legacy/vb_graphics/2007_fadebmp.zip

      » 合 作 伙 伴