CODFillProperties::CreateBrush

CBrush* CODFillProperties::CreateBrush(CDC* pDC = NULL)

Creates a CBrush object based on the current settings.

Defined in: OdFillProp.cpp

Return Value

A pointer the the new brush. The caller is responsible for cleaning up this object.

Parameters

pDC

A pointer to the device context used to create the bitmap to be used for the fill pattern, if using the BS_PATTERN style.