-
GDI 即图形设备界面,是 Windows 最重要的部分之一,它大部分由 GDI32.DLL 库中的 API 来处理,GDI 的主要目的之一是支持与设备无关的图
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
- 2022-04-12 03:42:06下载
- 积分:1
-
SCM Electronic Clock: 6 digital control time
单片机的电子时钟:6个数码管分时循环工作,刷新频率≥25Hz。键盘采用矩阵式电路,L1-L4作为输出,H1-H4作为输入。(详细工作原理请参考教材第10章)。
系统时钟采用12MHz,采用定时器方式2计时-SCM Electronic Clock: 6 digital control time-cycle work, refresh frequency ≥ 25Hz. Keyboard, a matrix circuit, L1-L4 as the output, H1-H4 as input. (Details please refer to teaching works Chapter 10). The system clock is 12MHz, using the timer mode 2 time
- 2023-01-01 17:25:04下载
- 积分:1
-
定时同步是UWB通信系统中至关重要的问题,定时偏差和抖动将严重影响接收机性能。一般定时同步分为捕获和跟踪两个阶段。在捕获阶段,要求接收机快速搜索信号到达时间,并...
定时同步是UWB通信系统中至关重要的问题,定时偏差和抖动将严重影响接收机性能。一般定时同步分为捕获和跟踪两个阶段。在捕获阶段,要求接收机快速搜索信号到达时间,并根据搜索结果调整接收机定时.-Timing Synchronization UWB communication systems is of vital importance to the issue, timing error and jitter will seriously affect the receiver performance. Timing Synchronization generally divided into two stages to capture and track. In the capture stage, the request receiver Quick Search signal arrival time, and adjust search results according to the receiver from time to time.
- 2022-04-06 16:01:27下载
- 积分:1
-
The source code of a compiled system of assembly language here.you can read the...
汇编编译系统源代码,是用汇编语言编写内附文档,可自行查看-The source code of a compiled system of assembly language here.you can read the inner documents which are writed by assembly language .
- 2022-02-27 07:46:17下载
- 积分:1
-
一个C style Assembler的source code
一个C style Assembler的source code-one of the C style Assembler source code
- 2022-04-17 05:18:12下载
- 积分:1
-
Taught how to use the asm programming, there are many nice examples.
教如何使用asm编程,有很多很好的例子。
- 2022-01-26 01:15:59下载
- 积分:1
-
put a few bytes of a transformed system for the past 2
把一个 字节的数转化为2近制-put a few bytes of a transformed system for the past 2
- 2022-07-07 19:19:45下载
- 积分:1
-
该程序用vb编写,程序是用于声卡测试的源码.
该程序用vb编写,程序是用于声卡测试的源码.-the procedures used to prepare vb, procedures for testing the sound card source.
- 2022-02-01 09:03:59下载
- 积分:1
-
一款比较实用的学生成绩管理系统,功能强大,切实用,希望大家能够喜欢,有什么问题请加Q229929778...
一款比较实用的学生成绩管理系统,功能强大,切实用,希望大家能够喜欢,有什么问题请加Q229929778-A comparison of the performance of their students practical management system, the powerful, effective with the hope that people will like. What is the problem please dial Q229929778
- 2022-03-15 10:31:25下载
- 积分:1
-
数字信号发生器可以用来解决数字信号,我说的不好,请大家自己...
数字信号发生器可以用来解决数字信号,我说的不好,请大家自己-Digital signal generator can be used to solve the digital signal, I say bad, please everyone their own
- 2022-07-20 07:38:18下载
- 积分:1