GDI+ Programming in C# and VB.NET

Nick Symmonds

  • 出版商: Apress
  • 出版日期: 2002-07-02
  • 售價: $2,530
  • 貴賓價: 9.5$2,404
  • 語言: 英文
  • 頁數: 589
  • 裝訂: Paperback
  • ISBN: 159059035X
  • ISBN-13: 9781590590355
  • 相關分類: .NETC#
  • 海外代購書籍(需單獨結帳)

買這商品的人也買了...

相關主題

商品描述

GDI+ both wraps arcane API calls and extends them for much easier use. Programmers no longer have to make do with the familiar but simplistic VB 6.0 drawing model, nor do they have to dig down into the GDI API in order to get any real work done. In GDI+, Microsoft has come up with a complete, but still extensible, set of classes for all of the .NET programmer’s drawing needs.

GDI+ requires different techniques than the Windows GDI API, as it is completely stateless. GDI+ Programming in C# and VB .NET starts out with an explanation of GDI+ and how it relates to GDI. The book then dives deep into the GDI+ namespaces and classes. The book begins with basic drawing in the early chapters and then explains in an understandable manner more complex drawing techniques, including paths, gradients, alpha blends, matrix operations, and transformations.

Later chapters cover how to work with bitmaps and other images, as well as advanced drawing and printing techniques. The final two chapters are devoted to useful projects that show the subject matter of the previous chapters in real-world examples.

Throughout GDI+ Programming in C# and VB .NET, author Nick Symmonds not only explains the different namespaces and classes relating to GDI+, but he also takes the time to cover the best practices of graphics programming. Woven throughout the book are numerous examples that tie together different aspects of programming in .NET that teach programmers how to get the best possible speed and efficiency out of their code.

Contents

Part One Theory

Chapter 1: .NET Primer

Chapter 2: GDI Explained

Chapter 3: GDI and VB 6.0 Drawing Example

Chapter 4: Vector Graphics

Chapter 5: Advanced Graphics

Chapter 6: Working with Images

Chapter 7: Drawing Text

Chapter 8: Printing



Part Two Application Notes

Chapter 9: GDI+ Projects

Chapter 10: GDI+ with Forms

Appendix The Enumerations

商品描述(中文翻譯)

GDI+不僅封裝了晦澀的API調用,還擴展了它們以便更容易使用。程序員不再需要使用熟悉但簡單的VB 6.0繪圖模型,也不需要深入研究GDI API才能完成實際工作。在GDI+中,微軟提供了一套完整但可擴展的類,滿足.NET程序員的繪圖需求。

GDI+需要與Windows GDI API使用不同的技術,因為它是完全無狀態的。《GDI+ Programming in C# and VB .NET》首先解釋了GDI+及其與GDI的關係。然後深入介紹了GDI+的命名空間和類。書籍從基本繪圖開始,逐步以易於理解的方式解釋了更複雜的繪圖技術,包括路徑、漸變、透明混合、矩陣操作和變換。

後面的章節涵蓋了如何處理位圖和其他圖像,以及高級繪圖和打印技術。最後兩章專門介紹了實用的項目,展示了前面章節中的主題在現實世界中的應用。

在《GDI+ Programming in C# and VB .NET》中,作者Nick Symmonds不僅解釋了與GDI+相關的不同命名空間和類,還花時間介紹了圖形編程的最佳實踐。書中穿插著許多例子,將.NET編程的不同方面結合在一起,教導程序員如何在代碼中獲得最佳的速度和效率。

內容包括:
- 第一部分 理論
- 第1章:.NET入門
- 第2章:GDI解釋
- 第3章:GDI和VB 6.0繪圖示例
- 第4章:向量圖形
- 第5章:高級圖形
- 第6章:處理圖像
- 第7章:繪製文本
- 第8章:打印

- 第二部分 應用筆記
- 第9章:GDI+項目
- 第10章:使用表單的GDI+

- 附錄 枚舉