windows api Path Functions

来源:互联网 发布:eclipse图形界面编程 编辑:程序博客网 时间:2024/05/29 04:54
Path Functions

The following functions are used to create, alter, or draw paths.

FunctionDescriptionAbortPathCloses and discards any paths in the specified device context.BeginPathOpens a path bracket in the specified device context.CloseFigureCloses an open figure in a path.EndPathCloses a path bracket and selects the path defined by the bracket into the specified device context.FillPathCloses any open figures in the current path and fills the path's interior by using the current brush and polygon-filling mode.FlattenPathTransforms any curves in the path that is selected into the current device context (DC), turning each curve into a sequence of lines.GetMiterLimitRetrieves the miter limit for the specified device context.GetPathRetrieves the coordinates defining the endpoints of lines and the control points of curves found in the path that is selected into the specified device context.PathToRegionCreates a region from the path that is selected into the specified device context.SetMiterLimitSets the limit for the length of miter joins for the specified device context.StrokeAndFillPathCloses 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.StrokePathRenders the specified path by using the current pen.WidenPathRedefines the current path as the area that would be painted if the path were stroked using the pen currently selected into the given device context.
原创粉丝点击