CDC::FillRgn

Syntax

BOOL FillRgn( CRgn* pRgn, CBrush* pBrush );

Parameters

pRgn

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

pBrush

Identifies the brush to be used to fill the region.

Remarks

Fills the region specified by pRgn with the brush specified by pBrush.

Return Value

TRUE if the function is successful or FALSE if an error occurs.

See Also

CRgn, CDC::PaintRgn, CBrush, ::FillRgn