| title | Drawing Tool Classes | Microsoft Docs | |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ms.custom | ||||||||||||||
| ms.date | 11/04/2016 | |||||||||||||
| ms.reviewer | ||||||||||||||
| ms.suite | ||||||||||||||
| ms.technology |
|
|||||||||||||
| ms.tgt_pltfrm | ||||||||||||||
| ms.topic | article | |||||||||||||
| f1_keywords |
|
|||||||||||||
| dev_langs |
|
|||||||||||||
| helpviewer_keywords |
|
|||||||||||||
| ms.assetid | e907bd89-38b5-47c9-b76a-95e0bf3bb41d | |||||||||||||
| caps.latest.revision | 9 | |||||||||||||
| author | mikeblome | |||||||||||||
| ms.author | mblome | |||||||||||||
| manager | ghogen | |||||||||||||
| translation.priority.ht |
|
These classes encapsulate drawing tools that are used to draw on a device context.
CGdiObject
The base class for GDI drawing tools.
CBrush
Encapsulates a GDI brush that can be selected as the current brush in a device context. Brushes are used for filling interiors of objects being drawn.
CPen
Encapsulates a GDI pen that can be selected as the current pen in a device context. Pens are used for drawing the border lines of objects.
CFont
Encapsulates a GDI font that can be selected as the current font in a device context.
CBitmap
Encapsulates a GDI bitmap, providing an interface for manipulating bitmaps.
CPalette
Encapsulates a GDI color palette for use as an interface between the application and a color output device such as a display.
CRectTracker
Displays and handles the user interface for resizing and moving rectangular objects.