Share via


CDC::GetHalftoneBrush

Call this member function to retrieve a halftone brush.

static CBrush* PASCAL GetHalftoneBrush( );

Return Value

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

Remarks

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

Requirements

Header: afxwin.h

See Also

Reference

CDC Class

Hierarchy Chart

CBrush Class

Other Resources

CDC Members