网站首页  词典首页

请输入您要查询的函数:

 

术语 floodfill
释义 FloodFill
语法:
BOOL FloodFill(
__in HDC hdc,
__in int nXStart,
__in int nYStart,
__in COLORREF crFill
);
FloodFill功能
该FloodFill功能,填补了在当前的画笔展示面积。该地区被假定为界由crFill参数指定。
注意FloodFill功能只是为了兼容16位的Windows版本。应用程序应该使用指定FLOODFILLBORDER的ExtFloodFill函数。
参数
hdc [in]
一个句柄,设备上下文。
nXStart [in]
的x坐标,按逻辑单位,以至于灌装是开始。
nYStart [in]
在y坐标,按逻辑单位填写的地步,是开始。
crFill [in]
边界或地区要填充的颜色。要创建一个COLORREF颜色值,使用RGB宏。
返回值
如果函数成功,返回值为非零。
如果函数失败,返回值是零。
备注
以下是这个函数的原因可能失败:
填充无法完成。
给定的点的边界颜色的crFill参数指定。
给定的点之外当前剪贴regionthat在于,它是不可见的设备上。
要求:
最低支持:client-Windows 2000专业版
最低支持server-Windows 2000服务器
HeaderWingdi.h(头文件:winuser.h)
LibraryGdi32.lib
DLLGdi32.dll
参见
位图概述
位图功能
ExtFloodFill
COLORREF
的RGB
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年7月11日
==英文原文==FloodFill Function
The FloodFill function fills an area of the display surface with the current brush. The area is assumed to be bounded as specified by the crFill parameter.
Note The FloodFill function is included only for compatibility with 16-bit versions of Windows. Applications should use the ExtFloodFill function with FLOODFILLBORDER specified.
Syntax
BOOL FloodFill(
__in HDC hdc,
__in int nXStart,
__in int nYStart,
__in COLORREF crFill
);
Parameters
hdc [in]
A handle to a device context.
nXStart [in]
The x-coordinate, in logical units, of the point where filling is to start.
nYStart [in]
The y-coordinate, in logical units, of the point where filling is to start.
crFill [in]
The color of the boundary or the area to be filled. To create a COLORREF color value, use the RGB macro.
Return Value
If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero.
Remarks
The following are reasons this function might fail:
The fill could not be completed.
The given point has the boundary color specified by the crFill parameter.
The given point lies outside the current clipping regionthat is, it is not visible on the device.
Requirements
Minimum supported clientWindows 2000 Professional
Minimum supported serverWindows 2000 Server
HeaderWingdi.h (include Windows.h)
LibraryGdi32.lib
DLLGdi32.dll
See Also
Bitmaps Overview
Bitmap Functions
ExtFloodFill
COLORREF
RGB
Send comments about this topic to Microsoft
Build date: 7/11/2009
==原始网址==http://msdn.microsoft.com/en-us/library/dd162726(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:29:26