This documentation is archived and is not being maintained.

CDC::GetHalftoneBrush

Call this member function to retrieve a halftone brush.

static CBrush* PASCAL GetHalftoneBrush( );

A pointer to a CBrush object if successful; otherwise NULL.

A halftone brush shows pixels that are alternately foreground and background colors to create a dithered pattern. The following is an example of a dithered pattern created by a halftone brush.

Dithered Pen Details

Header: afxwin.h

Show: