什么是设备上下文? [英] what is device context ?

查看:107
本文介绍了什么是设备上下文?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我需要清楚地了解设备上下文。我在MSDN和其他一些文章上读过很多文章,但没有人满意我。我无法弄清楚究竟是什么设备环境。

我寻求你对它的见解。



谢谢

hi all ,
I need a clear understanding of device context . I read few articles like on MSDN and some others but none satisfied me .I am not able to figure out what device context is really .
I seek your insights on it .

Thanks

推荐答案

在我看来,从实际角度来看问题是不正确的。原因如下:它暗示您认为官方文档不完整或不清楚。我的观点是基于我的其他观点:我不这么认为。



您的问题也是基于假设文档不满足您的假设。这意味着,你不会责怪你的教育,经验或能力,你责怪文件的一些缺陷。我必须承认,在这种情况下有很多情况。



例如,我可以列出许多Microsoft文档不清楚,不完整或甚至误导。不幸的是,它发生了。但通常情况下,我对这些文档缺陷,真正缺陷的了解是基于我的研究或实践经验,当我看到行为或数据结构我可以证明,例如,调试,由文档错误描述或未在所有。我在CodeProject帖子/文章中分享了一些此类研究结果,就像其他成员一样。



所以,如果你真的不满意,你应该指出究竟是什么不满意,有参考资料。每个人都可以使用这些信息并感谢你。如果您是能够对自己的话负责的人。否则你应该简单地说你没理解某些时刻会被人们完全尊重。



你的意思是http://msdn.microsoft.com/en-us/library/azz5wt61%28v=vs.110%29 .aspx [ ^ ]?



如果你能解释哪一部分不能令人满意,你可以获得一些机会获得更多帮助。



基本上,您应该将设备上下文视为一些抽象对象,它允许对具有不同特征甚至不同物理性质的硬件或媒体进行统一的图形处理。



-SA
In my opinion, the question is incorrect from the practical standpoint. Here is why: it implies that you think that "official documentation" is incomplete or unclear. My opinion is based on my other opinion: I don''t think so.

Your question is also based on assumption that the documentation does not "satisfy" you. It means, that you don''t blame your education, experience or capability, you blame some "defects" of the documentation. And I must admit, there are many cases when this is the case.

I, for example, can list a number of fields where Microsoft documentation is unclear, incomplete or even misleading. It happens, unfortunately. But usually, my knowledge of such documentation defects, real defects, is based on my research or practical experience, when I see that the behavior or data structure I can proof from, for example, debugging, in incorrectly described by documentation or not described at all. I shared some of such research results in CodeProject posts/articles, as other members did.

So, if you are really not satisfied, you should point out what exactly is unsatisfactory, with references. Everyone could use this information and thank you for that. If you are the person who can take responsibility for your own words. Otherwise you should simply say that you failed to understand certain moments, which would be fully respected by people.

Do you mean this http://msdn.microsoft.com/en-us/library/azz5wt61%28v=vs.110%29.aspx[^]?

If you can explain what part of it is unsatisfactory, you can get some chances to get more help.

Basically, you should think of device context as of some abstraction object which allows for uniform graphic processing for hardware or media with different characteristics or even different physical nature.

—SA


这篇关于什么是设备上下文?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆