Share via


CDC::BeginPath

BOOLBeginPath();

Return Value

Nonzero if the function is successful; otherwise 0.

Remarks

Opens a path bracket in the device context. After a path bracket is open, an application can begin calling GDI drawing functions to define the points that lie in the path. An application can close an open path bracket by calling the EndPath member function. When an application calls BeginPath, any previous paths are discarded.

See in the Platform SDK for a list of the drawing functions that define points in a path for Windows NT and Windows 95.

CDC OverviewClass MembersHierarchy Chart

See Also   CDC::EndPath, CDC::FillPath, CRgn::CreateFromPath, CDC::SelectClipPath, CDC::StrokeAndFillPath, CDC::StrokePath, CDC::WidenPath