网站首页  词典首页

请输入您要查询的函数:

 

术语 strokeandfillpath
释义 StrokeAndFillPath
语法:
BOOL StrokeAndFillPath(
__in HDC hdc
);
StrokeAndFillPath功能
该StrokeAndFillPath功能关闭在道路上的任何公开的数字,中风通过使用当前笔路径轮廓,并填补了使用当前画笔其内部。
参数
hdc [in]
一个句柄,设备上下文。
返回值
如果函数成功,返回值为非零。
如果函数失败,返回值是零。
GetLastError函数可能会返回下列错误代码之一:
ERROR_CAN_NOT_COMPLETE
ERROR_INVALID_PARAMETER
ERROR_NOT_ENOUGH_MEMORY
备注
该设备的范畴内确定的HDC参数必须包含一个封闭的道路。
该StrokeAndFillPath函数作为关闭所有路径中的公开数字,抚摸和填补道路分开但该地区将充满不重叠区域的抚摸,即使笔广,效果相同。
实例
有关示例,请参见绘制饼图。
要求:
最低支持:client-Windows 2000专业版
最低支持server-Windows 2000服务器
HeaderWingdi.h(头文件:winuser.h)
LibraryGdi32.lib
DLLGdi32.dll
参见
路径概览
路径功能
BeginPath
FillPath
SetPolyFillMode
StrokePath
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年7月11日
==英文原文==StrokeAndFillPath Function
The StrokeAndFillPath function closes 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.
Syntax
BOOL StrokeAndFillPath(
__in HDC hdc
);
Parameters
hdc [in]
A handle to the device context.
Return Value
If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero.
GetLastError may return one of the following error codes:
ERROR_CAN_NOT_COMPLETE
ERROR_INVALID_PARAMETER
ERROR_NOT_ENOUGH_MEMORY
Remarks
The device context identified by the hdc parameter must contain a closed path.
The StrokeAndFillPath function has the same effect as closing all the open figures in the path, and stroking and filling the path separately, except that the filled region will not overlap the stroked region even if the pen is wide.
Examples
For an example, see Drawing a Pie Chart .
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
FillPath
SetPolyFillMode
StrokePath
Send comments about this topic to Microsoft
Build date: 7/11/2009
==原始网址==http://msdn.microsoft.com/en-us/library/dd145123(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 13:18:24