位图结构详细资料.docVIP

  • 8
  • 0
  • 约1.06万字
  • 约 11页
  • 2018-11-20 发布于河南
  • 举报
位图结构详细资料.doc

GDI基本概念及思想 ? 编写代码的一般步骤:先用CreateDC创建(或GetDC获取)device content(DC),然后用GetObject获取(或使用创建object的函数创建)需要的object,并用SelectObject将获取的object选入device content(DC),再使用object进行相应的画图操作,最后用SelectObject将原来的object重新选入DC,并delete或release删除或释放前面创建或获取的DC。 ? 1.????关于device context?(DC)设备内容:用来显示位图的地方. 四种设备内容:显示器设备内容、打印机设备内容、内存设备内容、Information设备内容,常用的有显示器DC和内存DC. Device Context Types: There are four types of DCs: display, printer, memory (or compatible), and information.? Device context Description Display Supports drawing operations on a video display. Printer Supports drawing operations on a printer or plotter. M

文档评论(0)

1亿VIP精品文档

相关文档