GDI+ powerpoints

...from Dino's MSDN Mag article.

  • The GDI+ subsystem is a native component of the Windows XP and Windows Server 2003 operating systems that is available to 32-bit and 64-bit Windows-based apps.
  • ..the core services of GDI+ are still in unmanaged code. The classes in the .NET Framework are merely wrappers around them. This is something that is expected to change in the upcoming version of Windows, code-named Longhorn.
  • In the .NET Framework, GDI+ functions are defined in the System.Drawing namespace. The namespace includes three child namespaces, which encompass 2D drawing,imaging, and text manipulation.
  • In System.Drawing you find the basic drawing primitives to handle fonts, brushes, pens, and bitmaps.
  • Advanced 2D and vector graphics effects are provided by the classes in System.Drawing.Drawing2D.In particular, you'll find gradients, blending, paths, and regions.
  • Image rendering, color manipulation, and metafile support is available in System.Drawing.Imaging.
  • The classes in System.Drawing.Text manage an application's privately and publicly installed font collections.
  • The base class for representing and handling images is Image. It is an abstract class that provides core functionality for three more specific types of images: bitmaps, metafiles, and icons.
  • In the .NET Framework, a bitmap is not necessarily a .bmp file.
  • A Bitmap object is an object used to work with images defined by pixel data as opposed to a record-based image like a metafile or icon.
  • A bitmap can be constructed dynamically by allocating a graphic memory context or it can be loaded from existing data. The Bitmap constructor accepts data from disk files, streams, and other Image-based objects.

Comments