期刊文献+

基于VC的BMP位图伸缩显示 被引量:1

Bitmap's flexible display based on VC
下载PDF
导出
摘要 本文首先介绍了BMP的文件结构,然后采用加载资源位图,调用视图类中的成员函数OnDraw(CDC*pDC)的方法来显示位图。但该方法缺乏灵活性,所显示的图片的大小也有一定的限制。为实现图片的伸缩显示,提出了在实际设备中显示位图的思路。遵循这个思路,在基于MFC的VC程序中给出具体实例,即通过调用MFC的设备环境类CDC的成员函数BitBlt()或成员函数StretchBlt()来实现BMP位图的缩放显示。 BMP is the abbreviation of BitMap,and it's a format that all graphic image software support in the Windows environment. This article describes the structure of the BMP first, and then displays the bitmap by loading the resource bitmap and calling the classview's member function OnDraw (CDC * pDC).But the method lacks flexibility,and the size of the displayed image also has certain limitation. So the idea of displaying a bitmap in the actual equipment is proposed to achieve the stretching picture's show. Follow this idea, giving a specific example in the VC program based on MFC,that is,calling the CDC member function BitBlt() or StretchBlt () of MFC device class to achieve BMP's flexible display.
出处 《电子测试》 2009年第12期27-30,共4页 Electronic Test
关键词 BMP 位图:VC++ 伸缩显示 BMP bitmap VC + + display
  • 相关文献

参考文献5

二级参考文献8

  • 1David J,Programming Visual C++ 6.0技术内幕(第5版),1999年
  • 2吕凤军,数字图象处理编程入门,1999年
  • 3晶辰工作室,最流行图像格式实用参考手册,1998年
  • 4[美]David J Kruglinski著.Visual C++技术内幕,第4版.北京:清华大学出版社,1999
  • 5徐小刚等.Visual C++6.0入门与提高.北京:清华大学出版社,1999
  • 6李于剑.Visual C++图形图像编程.北京:铁道出版社,2000
  • 7林福宗.图像文件格式大全[M].北京:清华大学出版社,1998.
  • 8吕凤军.数字图像处理编程人门[M].北京:清华大学出版社,1999.

共引文献10

同被引文献6

  • 1杨乐,王厚军,戴志坚.测试仪器中的动态波形绘制技术[J].仪器仪表学报,2006,27(z2):1159-1160. 被引量:3
  • 2谭锋.在基于MFC的VC程序中缩放显示位图[J].内江科技,2007,28(6):36-36. 被引量:3
  • 3Jeffrey Richter,Christophe Nasarre Windows核心编程[M].北京:清华大学出版社,2008:463-476.
  • 4周民扬.VisualC-+界面编程技术[M].北京:北京希望电子出版社,2003.
  • 5高伟卫 杨胜强 张满栋.基于VC++6 0基础类库的图像显示.现代电子技术,2002,(1):36-40.
  • 6侯捷.深入浅出MFC[M].武汉:华中科技大学出版社,2001..

引证文献1

二级引证文献2

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部