CDC::GetHalftoneBrush
TOC
Collapse the table of content
Expand the table of content
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer

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
Show:
© 2016 Microsoft