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中,就相当于完成了屏幕的刷新。
上传时间: 2016-09-03
上传用户:watch100
micro chip的电机资料,主要是交流电机 AC Induction Motor Fundamentals
上传时间: 2016-10-28
上传用户:风之骄子
WLAN仿真-发送机 wlan No Comments 设置完系统参数后,开始产生发送数据。 1. 产生随机的发送bit(tx_bits),这里不考虑信道编码。 2. QAM映射 3. 将数据映射到不同载波,形成OFDM符号 4. 产生pilot,并将pilot插入OFDM符号中 5. 加入dc和guard子载波 6. 进行ifft,将频域信号变到时域,并加入循环前缀 7. 对信号进行overlap window 8. 在时域产生short preamble 9. 在时域产生long preamble 10. 将preamble和数据符号组成packet 11. 升采样 得到信道传输的数据Tx_signal_up 具体程序见附件 wlan_transmitter.m
上传时间: 2016-11-09
上传用户:exxxds
HDu1000-1005,杭州电子科技大学ACM题,VC++AC
上传时间: 2016-11-13
上传用户:zm7516678
AVS帧内预测算法的MATLAB代码,具体做了水平预测、垂直预测、DC和左上预测、右下预测。
上传时间: 2016-11-17
上传用户:康郎
此为北京大学的ACM练习网站上第1012题的源码,速度不算快,但AC了。
上传时间: 2016-11-26
上传用户:waizhang
Press (~,Ctrl, and Alt) to bring up the game console during play and enter the following codes to activate them. Make sure you press "Enter" after you type each code in!
上传时间: 2013-12-27
上传用户:gdgzhym
noip2008提高组复赛源程序,330分重庆市第一名,前三题AC
上传时间: 2013-12-28
上传用户:z1191176801
ActionForward的使用 1、理解全局和局部ActionForward的概念 2、redirect的使用 3、struts-config.xml文件不允许动态修改 4、理解动态ActionForward,动态的ActionForward是可以运行期修改的
标签: ActionForward struts-config redirect xml
上传时间: 2017-01-24
上传用户:kernaling
isual Chat 1.91 Developer Edition - Customize the Visual Chat code regarding your own requirements - Use customchatdev.html for developing / testing - Create .jar and .cab-files containing client-specific .class-files and the images-folder (use zip and cabarc compressing tools) - Adapt the customchat.html file - Upload all the files to your webserver - Start the ChatServer by invoking java at.ac.uni_linz.tk.vchat.ChatServer [port [server-key]] from your commandline - I kindly ask you to leave copyright and credit information in the InfoPanel.class as it is - but you are invited to add your own text. In case of violations I will consider excluding this class from the source in the future.
标签: Chat requirement Developer Customize
上传时间: 2017-01-27
上传用户:iswlkje