作业帮 > ASP.NET > 教育资讯

ASP.NET培训:VC++.NET的GDI+入门之位图和图标

来源:学生作业帮助网 编辑:作业帮 时间:2024/05/11 03:08:33 ASP.NET
ASP.NET培训:VC++.NET的GDI+入门之位图和图标
ASP.NET培训:VC++.NET的GDI+入门之位图和图标ASP.NET
【网络综合-ASP.NET培训:VC++.NET的GDI+入门之位图和图标】:

位图

位图是用于在窗体上显示图片的图形对象,它是各种场合下图形对象常用的一种类型。例如,位图可以作为窗体的背景,下面是用于某些Windows版本随带的弹球游戏图:

.498)this.style.width=498;'' onmousewheel = ''javascript:return big(this)'' height=316 alt="" src="/files/uploadimg/20060925/1115560.gif" width=252 border=0>

图1:弹球游戏图

位图也可以用来装饰对话框来达到美学效果。下图WordPerfect 2002安装程序界面上的位图就显示了这种效果。

.498)this.style.width=498;'' onmousewheel = ''javascript:return big(this)'' height=262 alt="" src="/files/uploadimg/20060925/1115561.gif" width=381 border=0>

图2:带有位图的对话框效果图

位图最常用的用法可能还是被作为工具条上的图片。

.498)this.style.width=498;'' onmousewheel = ''javascript:return big(this)'' height=32 alt="" src="/files/uploadimg/20060925/1115562.gif" width=301 border=0>

图3:带有位图的工具条

ASP.NET