CDC::StrokeAndFillPath

Closes any open figures in a path, strokes the outline of the path by using the current pen, and fills its interior by using the current brush.

BOOL StrokeAndFillPath( );

Возвращаемое значение

Nonzero if the function is successful; otherwise 0.

Заметки

The device context must contain a closed path. The StrokeAndFillPath member function has the same effect as closing all the open figures in the path, and stroking and filling the path separately, except that the filled region will not overlap the stroked region even if the pen is wide.

Требования

Header: afxwin.h

См. также

Основные понятия

CDC Class

CDC Members

Hierarchy Chart

CDC::BeginPath

CDC::FillPath

CDC::SetPolyFillMode

CDC::StrokePath

StrokeAndFillPath