CDC::PaintRgn

Syntax

BOOL PaintRgn( CRgn* pRgn );

Parameters

pRgn

Identifies the region to be filled. The coordinates for the given region are specified in device units.

Remarks

Fills the region specified by pRgn with the selected brush.

Return Value

TRUE if the function is successful; otherwise FALSE.

See Also

CBrush, CDC::SelectObject, CDC::FillRgn, ::PaintRgn