Drawing Tool Classes

 

For the latest documentation on Visual Studio 2017, see Visual Studio 2017 Documentation.

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.

Class Overview

Show: