网站首页  词典首页

请输入您要查询的函数:

 

术语 closefigure
释义 CloseFigure
语法:
BOOL CloseFigure(
__in HDC hdc
);
CloseFigure功能
该CloseFigure功能关闭在一个开放的路径图。
参数
hdc [in]
处理设备环境中,这个数字将会封闭。
返回值
如果函数成功,返回值为非零。
如果函数失败,返回值是零。
备注
该CloseFigure功能关闭绘制一个从当前位置行的第一点的数字的数字(通常是由最近调用MoveToEx函数指定的点),然后通过连接线连接样式的方针。如果这个数字是使用而不是CloseFigure的LineTo功能关闭,端盖用于创建角落里,而不是一个联接。
该CloseFigure函数只应调用如果在指定的设备情况下,开放的道路括号。
如果一个数字是开放的路径,除非是明确使用此功能关闭。 (这个数字可以公开即使目前的点和出发点的数字是相同的。)
经过对CloseFigure呼叫,添加行或曲线路径开始一个新的数字。
要求:
最低支持:client-Windows 2000专业版
最低支持server-Windows 2000服务器
HeaderWingdi.h(头文件:winuser.h)
LibraryGdi32.lib
DLLGdi32.dll
参见
路径概览
路径功能
BeginPath
EndPath
ExtCreatePen
LineTo
MoveToEx
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年7月11日
==英文原文==CloseFigure Function
The CloseFigure function closes an open figure in a path.
Syntax
BOOL CloseFigure(
__in HDC hdc
);
Parameters
hdc [in]
Handle to the device context in which the figure will be closed.
Return Value
If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero.
Remarks
The CloseFigure function closes the figure by drawing a line from the current position to the first point of the figure (usually, the point specified by the most recent call to the MoveToEx function) and then connects the lines by using the line join style. If a figure is closed by using the LineTo function instead of CloseFigure, end caps are used to create the corner instead of a join.
The CloseFigure function should only be called if there is an open path bracket in the specified device context.
A figure in a path is open unless it is explicitly closed by using this function. (A figure can be open even if the current point and the starting point of the figure are the same.)
After a call to CloseFigure, adding a line or curve to the path starts a new figure.
Requirements
Minimum supported clientWindows 2000 Professional
Minimum supported serverWindows 2000 Server
HeaderWingdi.h (include Windows.h)
LibraryGdi32.lib
DLLGdi32.dll
See Also
Paths Overview
Path Functions
BeginPath
EndPath
ExtCreatePen
LineTo
MoveToEx
Send comments about this topic to Microsoft
Build date: 7/11/2009
==原始网址==http://msdn.microsoft.com/en-us/library/dd183443(VS.85).aspx\n
随便看

 

windows api函数参考手册包含2258条windows api函数文档,详细介绍nodejs、java、rust调用windows api的方法技巧,是学习windows api编程的入门中文文档。

 

Copyright © 2004-2023 Winrtm.com All Rights Reserved
京ICP备2021023879号-40 更新时间:2024/10/6 11:23:59