Creating a clipping region from the path selected into the device context of a form
BOOL BeginPath(
HDC hdc // handle to DC
); DECLARE INTEGER BeginPath IN gdi32;
INTEGER hdc hdc [in] Handle to the device context.
If the function succeeds, the return value is nonzero (but it is not a handle to the path). If the function fails, the return value is zero.
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 function.
Several drawing functions can be used on the different Windows operating systems: TextOut, CloseFigure, LineTo, MoveToEx, Polygon, Polyline etc.
Home