다음을 통해 공유


CDC::PaintRgn

Fills the region specified by pRgn using the current brush.

BOOL PaintRgn(
   CRgn* pRgn 
);

Parameters

  • pRgn
    Identifies the region to be filled. The coordinates for the given region are specified in logical units.

Return Value

Nonzero if the function is successful; otherwise 0.

Requirements

Header: afxwin.h

See Also

Concepts

CDC Class

CDC Members

Hierarchy Chart

CBrush Class

CDC::SelectObject

CDC::FillRgn

PaintRgn

CRgn Class