CDC::GetHalftoneBrush
TOC
Collapse the table of content
Expand the table of content

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.

Detail of a dithered pen stroke

Requirements

Header: afxwin.h

Show:
© 2016 Microsoft