什么是C#中调用的C ++上的CDC * pDC? [英] What is CDC* pDC on C++ called in C#?

查看:290
本文介绍了什么是C#中调用的C ++上的CDC * pDC?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我尝试将我的朋友的工作转换为我自己的c#课程,但是我坚持使用这个CDC课程,我不知道它是什么以及它为该计划做了什么,但据我所知,它适用于成像,请帮助

I try to convert my friends work to my own program on c# but I am stuck with this CDC Class, I don't know what it is and what do it do for the program, but as I knew, it works with imaging, please help

推荐答案

你应该多使用谷歌...

CDC - 类(设备上下文)...... />
GDI中的设备上下文是在您的应用程序中绘制的逻辑表面... http://msdn.microsoft.com/en-us/library/dd162467(v = vs.85).aspx [ ^ ]

在.NET中(C# )最接近它的是图形 [ ^ ]类,更多e xtended,但可能会遗漏你需要的东西,在这种情况下你应该查看 System.Drawing [ ^ ] .NET的命名空间...
You should use Google more...
CDC - Class (of) Device Context...
Device Context in GDI is the logical surface to draw on within your application...http://msdn.microsoft.com/en-us/library/dd162467(v=vs.85).aspx[^]
In .NET (C#) the closest thing to it is the Graphics[^] class, which is more extended, but may miss some things you need, in which case you should look into the System.Drawing[^] namespace of .NET...


这篇关于什么是C#中调用的C ++上的CDC * pDC?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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