登录
首页 » 汇编语言 » GDI 即图形设备界面,是 Windows 最重要的部分之一,它大部分由 GDI32.DLL 库中的 API 来处理,GDI 的主要目的之一是支持与设备无关的图

GDI 即图形设备界面,是 Windows 最重要的部分之一,它大部分由 GDI32.DLL 库中的 API 来处理,GDI 的主要目的之一是支持与设备无关的图

于 2022-04-12 发布 文件大小:2.03 kB
0 167
下载积分: 2 下载次数: 1

代码说明:

GDI 即图形设备界面,是 Windows 最重要的部分之一,它大部分由 GDI32.DLL 库中的 API 来处理,GDI 的主要目的之一是支持与设备无关的图形编程,对于 Dos 下的图形编程,很多人可能“心有余悸”,因为PC 中有太多种类的显示卡,而几乎每个显示卡的处理都是不同的,即使后来有了 Vesa 编程,我们还是不能全部撇开具体的硬件,Windows GDI 使我们对图形的编程变得相对简单了很多,由于GDI 是 Windows 最庞大的部分,并不是几句话能讲清楚的,本节要讲的是 Windows 下GDI 的基本处理步骤和简单的位图处理,并没有涉及到 Directx 一类的编程。只希望能对朋友们有所启发。 Windows 并不允许程序员访问显示硬件,它的所有对屏幕的操作是通过环境设备(DC)来处理的,屏幕上的每一个窗口对应一个DC,你可以把一个DC 想象成这个窗口的视频缓冲区,你对DC的操作结果会反映到屏幕上,在窗口的DC之外,你也可以自己建立DC,这相当于建立一个内存中的缓冲区,你对这个DC的操作结果保存在内存中。你也可以用 API 在不同的DC之间拷贝数据,比如说你可以在内存DC 中先建立好数据,然后拷贝到窗口的DC中,就相当于完成了屏幕的刷新。 -err

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 这是一个学生成绩管理系统,其中“I”表示插入,“L”表示浏览,“Q”表示查询, “E”表示退出,“D”表示删除,“M”表示修改,"c"表示统计各分数段人数,"p...
    这是一个学生成绩管理系统,其中“I”表示插入,“L”表示浏览,“Q”表示查询, “E”表示退出,“D”表示删除,“M”表示修改,"c"表示统计各分数段人数,"p"表示打印. 本程序实现了: (1)单独运行以上各功能,即在进入主菜单以后,点一功能键后关闭,再进入主菜单 点别的功能键。如运行"cjgl"文件后,在出现的主界面中点“I”,可插入数据,插入完 以后,关闭;在出现的主界面中点“M”,可修改数据,修改完以后关闭,用同样的方法 可运行其它的功能。 (2)连续运行部分的功能。-This is a performance management system for students, "I" to insert said, "L" said View, "Q" said inquiries, "E" from "D" to delete said, "M" said the amendments, "c", said Statistics the fraction of the number of "p" said Print. this procedure was realized : (a) separate operations over the function, which is to enter the main menu after a point after the closure of function keys, and entered the main menu point other function keys. To run "cjgl documents" in the main interface midpoint "I" can be inserted in the data, insert, after closing; At the midpoint of the main interface, "M", may revise the data, modify, after the closure, the same
    2022-04-21 15:42:22下载
    积分:1
  • SPI communication OF DSP2407
    dsp 2407 串行通信接口SPI 应用程序,经过试验调试。-SPI communication OF DSP2407
    2022-08-03 21:57:40下载
    积分:1
  • hex 转 二进制
    hex 转 二进制-hex binary switch
    2022-10-12 23:10:02下载
    积分:1
  • 地铁售票级,票价2~7元,可一次购买多种票价的票,最高张数为10张...
    地铁售票级,票价2~7元,可一次购买多种票价的票,最高张数为10张-Metro ticket class, the fare from 2 to 7 yuan, can be time to buy a variety of fare tickets, the maximum number of sheets of 10
    2023-06-20 03:15:04下载
    积分:1
  • Ping.exe similar to Windows
    类似于Windows自带的Ping.exe程序,用 ICMP 协议实现 Ping 的功能;socket的另一种用法-Ping.exe similar to Windows
    2022-04-12 03:50:39下载
    积分:1
  • 音电压表。 // 文件来源:《SPCE061A单片机实验指导书》,"实验三十八 0~3V电压测量表"...
    语音电压表。 // 文件来源:《SPCE061A单片机实验指导书》,"实验三十八 0~3V电压测量表"-voice voltage meter.// Source of the document : "SPCE061A experimental guide book", "Experiment 38 0 ~ 3V voltage measurement table"
    2022-11-09 08:45:04下载
    积分:1
  • that the procedure was used to dynamic changes in the Form of Control. Facilitat...
    该程序是用来动态增减窗体上的控件的.方便在不同情况使用时去掉一些控件-that the procedure was used to dynamic changes in the Form of Control. Facilitate the use of different circumstances remove some controls ..
    2022-06-30 08:28:17下载
    积分:1
  • 程序设计
    汇编语言程序设计-assembly language programming
    2022-04-16 17:07:49下载
    积分:1
  • This program implements a PIC
    This program implements a PIC-based fuzzy inference engine for the Fudge fuzzy development system from Motorola. It works by taking the output from Fudge for the 68HC11 processor, and converting it to a MPASM compatible assembler file using the convert batch file. This file can then be incorporated with fuzzy.asm to create a fuzzy inference engine. Tool chain ---------- FUDGE -> Fuzzy Rules -> MC68HC11.ASM -> CONVERT.BAT -> RULES.ASM -> MPASM FUZZY.ASM -> INTEL HEX Fuzzy input registers --------------------- current_ins 1..8 x 8-bit raw inputs Fuzzy inference function ------------------------ FuzzyEngine Fuzzy output registers ---------------------- cog_outs 1..8 x 8-bit raw outputs-This program implements a PIC-based fuzzy inference engine for the Fudge fuzzy development system from Motorola. It works by taking the output from Fudge for the 68HC11 processor, and converting it to a MPASM compatible assembler f
    2022-02-05 14:16:57下载
    积分:1
  • richedit记事本程序源码,带rc文件
    richedit记事本程序源码,带rc文件 -richedit Notepad program source code, with rc files
    2022-03-16 11:04:14下载
    积分:1
  • 696516资源总数
  • 106637会员总数
  • 8今日下载