Share via


CDC::FillPath

Closes any open figures in the current path and fills the path's interior by using the current brush and polygon-filling mode.

BOOL FillPath( );

Return Value

Nonzero if the function is successful; otherwise 0.

Remarks

After its interior is filled, the path is discarded from the device context.

Requirements

Header: afxwin.h

See Also

Reference

CDC Class

Hierarchy Chart

CDC::BeginPath

CDC::SetPolyFillMode

CDC::StrokeAndFillPath

CDC::StrokePath

FillPath

Other Resources

CDC Members