GDI+ Basics
GDI+ is supported in the CLR by the System.Drawing namespace and subordinate elements. GDI+ includes classes representing the DC, brushes, pens, fonts, and basic shape-drawing capabilities, as well as support for imaging and rendering graphics on devices in addition to Windows Forms.
Support for drawing in Windows Forms is supported at the API level. GDI+ is a framework within the CLR that provides us with refined metaphors that make what we have always been able to do easier.
Using Graphics Objects
The Graphics class is the metaphor that represents the API device context. Methods, fields, and properties in the Graphics class conceal working with handles and HRESULT return values.
Generally, you have access to a Graphics object when ...
Get Visual Basic® .NET Unleashed now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.