浅层地震剖面多页打印和预览的VC~(++)实现
详细信息 本馆镜像全文    |  推荐本文 | | 获取馆网全文
摘要
受浅层地震野外工作条件的限制,往往不能提供合适的硬件条件实现地震剖面的较大幅面现场连续打印。在简述VC++打印函数和运行顺序的基础上,本文提出浅层地震剖面的多页打印和预览的VC++程序实现方法,指出剖面图像的分页处理要与图形映射模式相关联;由于打印和预览的设备环境不同,实现图形映射时必须采用不同的方法;根据打印程序运行时打印和预览过程存在的差异,指出进行预览的必要性。经打印测试,本文方法是有效的。
The continuous field printing of shallow seismic profile with biggist breadth often can not be implemented without the help of suitable hardware.After a brief review of the print functions of Visual C~(++) and their sequences in an application's running,a programming method for the multipage printing and print preview of shallow seismic profile is presented in this paper.This paper also points out that the dissection of profile image is concerned with the mapping mode,and according to the differences between print and print preview's device contexts,different measures must be taken to realize the mapping of profile images on these two device contexts,and according to an analysis of the interactive manner of the printing and print preview processes,it is essential to have a print preview before a formal printing.After some printing tests,the method discussed in this paper proves to be available.
引文
[1]鲁佩云,林军.VC++6.0环境下基于MFC的打印过程及其函数的构造实例[J].电脑开发与应用,2001,14(4):13 14.Lu Peiyun,Lin Jun.The MFC print process and theconstruction examples of its function under the envi-ronment of Visual C[J].Computer Development andApplication,2001,14(4):13 14.
    [2]邹汉斌,雷红艳.在VC++6.0中利用MFC类库实现打印功能[J].湖南文理学院学报,2004,16(2):5859.Zou Hanbin,Lei Hongyan.Implementation of printfunction with MFC in VC++6.0[J].Journal ofHunan University of Arts and Science(Natural Sci-ence Edition),2004,16(2):58 59.
    [3]曾少军,刘汝敏,刘胜利.VC环境下巨幅图像的绘制与打印方法[J].计算机应用,2001,21(11):101102.Zeng Shaojun,Liu Rumin,Liu Shengli.The method ofdrawing and printing for the huge image under the en-vironment of Visual C[J].Computer Applications,2001,21(11):101 102.
    [4]周红,刘光蓉.用VC++6.0实现分页打印的功能[J].武汉工业学院学报,2003,22(3):45 47.Zhou Hong,Liu GuangRong.The realization of manypage’s printing with visual C++6.0[J].Journal ofWuhan Polytechnic University,2003,22(3):45 47.
    [5]范宝德,刘惊雷,王培进.基于内存设备环境的图形快速显示技术[J].计算机系统应用,2002,(10):6163.Fan Baode,Liu Jinglei,Wang Peijin.The technique ofquick graph showing based on memory device[J].Appli-cations of the Computer Systems,2002,(10):61 63.

版权所有:© 2023 中国地质图书馆 中国地质调查局地学文献中心