English 中文(简体)
Gdi Guidance required
原标题:
  • 时间:2009-11-24 06:51:15
  •  标签:
  • c#
  • 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?

最佳回答

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).

问题回答

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.





相关问题
Anyone feel like passing it forward?

I m the only developer in my company, and am getting along well as an autodidact, but I know I m missing out on the education one gets from working with and having code reviewed by more senior devs. ...

NSArray s, Primitive types and Boxing Oh My!

I m pretty new to the Objective-C world and I have a long history with .net/C# so naturally I m inclined to use my C# wits. Now here s the question: I feel really inclined to create some type of ...

C# Marshal / Pinvoke CBitmap?

I cannot figure out how to marshal a C++ CBitmap to a C# Bitmap or Image class. My import looks like this: [DllImport(@"test.dll", CharSet = CharSet.Unicode)] public static extern IntPtr ...

How to Use Ghostscript DLL to convert PDF to PDF/A

How to user GhostScript DLL to convert PDF to PDF/A. I know I kind of have to call the exported function of gsdll32.dll whose name is gsapi_init_with_args, but how do i pass the right arguments? BTW, ...

Linqy no matchy

Maybe it s something I m doing wrong. I m just learning Linq because I m bored. And so far so good. I made a little program and it basically just outputs all matches (foreach) into a label control. ...

热门标签