Partager via


CGdiObject Class

Provides a base class for various kinds of Windows graphics device interface (GDI) objects such as bitmaps, regions, brushes, pens, palettes, and fonts.

class CGdiObject : public CObject

Remarks

You never create a CGdiObject directly. Rather, you create an object from one of its derived classes, such as CPen or CBrush.

For more information on CGdiObject, see Graphic Objects.

Requirements

Header: afxwin.h

See Also

Reference

Hierarchy Chart

CBitmap Class

CBrush Class

CFont Class

CPalette Class

CPen Class

CRgn Class

Other Resources

CGdiObject Members