BOOL BeginPath(hdc) | |||
HDC hdc; |
The BeginPath function starts a path bracket; subsequent calls to drawing functions define the shape and size of a path. BeginPath initializes the path associated with the DC, discarding the previous path, if any. All subsequent drawing functions called for that DC, up to the next call to EndPath, apply to the new path.
hdc
Identifies the device context.
The return value is TRUE if the call succeeded, otherwise FALSE.
The following drawing functions will add to the path:
AngleArc | |
Arc | |
ArcTo | |
Chord | |
CloseFigure | |
Ellipse | |
ExtTextOut | |
LineTo | |
MoveToEx | |
Pie | |
PolyBezier | |
PolyBezierTo | |
PolyDraw | |
Polygon | |
Polyline | |
PolylineTo | |
PolyPolygon | |
PolyPolyline | |
Rectangle | |
RoundRect | |
TextOut |
EndPath, FillPath, PathToRegion, SelectClipPath, StrokeAndFillPath, StrokePath, WidenPath