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

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

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

    项目描述:
    Wrapping OpenGL with MFC can take the advantages of both APIs: fast rendering and an elegant GUI. However, due to the fact that many printer drivers do not work with the SetPixelFormat() API function, it is not feasible to render an OpenGL scene to a printer directly. A widely used technique is to render an OpenGL scene to a DIB section, then copy it to a DC for printing or print preview. This article demonstrates this approach.

    用MFC 封装OpenGL 可以用两种API:快速绘制和优秀的界面。然而,由于许多打印机驱动器不支持SetPixelFormat() API 函数,这样就不能直接将OpenGL 场景绘制到打印机上。一种广泛使用的技术是先将一个OpenGL   场景绘制到DIB 区,再将它复制到DC以供打印或预览。这个项目演示了这一方法。
    来源: http://www.codeguru.com/opengl/printpreview.html
    类别:
    发布者: cbd002

    最新发布源码包
    软件包 版本号 日期 本地下载
    printpreview  1.0  2004-04-18 下载

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

      » 合 作 伙 伴