需要 Gdi 指南
我目前正在使用 WPF 进行 C# 工作,我不了解图形,我想从头开始学习 GDI 和图形,任何人都可以通过提供一些基本知识或材料来帮助我吗?
谁能告诉我使用 Gdi 编写第一个程序?
I am currently working in C# with wpf, I don't know about graphics, I want to learn about GDI and graphics from scratch, Can anyone help me by providing some basic knowledge or material?
Can anyone tell me to write very first program using Gdi?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
如果您想了解 WPF,我强烈建议您阅读“Windows Presentation Foundation Unleashed”
http://www.amazon.com/Windows-Presentation-Foundation-Unleashed-WPF/ dp/0672328917
另请观看 PDC 中的此视频 - 掌握 WPF 图形及其他内容:
http://microsoftpdc.com/Sessions/CL31
如果您仍然想查看 GDI,您应该读这本书
http://www.amazon.com/NET-Game-Programming-DirectX-9- 0/dp/1590590511/ref=sr_1_1?ie=UTF8&s=books&qid=1259061198&sr=1-1
它从 GDI+ 基础知识开始,然后转向 DirectX。
尽管它是为 VB.NET 编写的,作为 ac# 开发人员,您也可以从中受益匪浅。它在过去帮助了我,在书中编写游戏非常有趣:p
(提示:书中的第一个示例存在巨大的性能问题,尝试解决它,它会帮助你理解事情,甚至更好的)。
If you want to learn about WPF I really suggest "Windows Presentation Foundation Unleashed"
http://www.amazon.com/Windows-Presentation-Foundation-Unleashed-WPF/dp/0672328917
Also check out this video from the PDC - Mastering WPF Graphics and beyond:
http://microsoftpdc.com/Sessions/CL31
And if you still want to check out GDI you should read this book
http://www.amazon.com/NET-Game-Programming-DirectX-9-0/dp/1590590511/ref=sr_1_1?ie=UTF8&s=books&qid=1259061198&sr=1-1
It starts out with GDI+ basics and then moves on to DirectX.
Even though it's written for VB.NET you'll get a great deal out of it as a c# developer as well. It helped me back in the days and writing the games in the book is just downright fun :p
(Hint: There is a huge performance issue with the first example in the book, try to solve it, it'll help you understand things even better).
我建议您查看 msdn,通常它们拥有网络上最好的资源。另外一些教程网站,例如 code-project.com 可能会有所帮助。
I would advise you to take a look at the msdn, usually they have the best resource on the web. Also some tutorial website like code-project.com might help.