网站首页  词典首页

请输入您要查询的函数:

 

术语 createpolypolygonrgn
释义 CreatePolyPolygonRgn
语法:
HRGN CreatePolyPolygonRgn(
__in const POINT *lppt,
__in const INT *lpPolyCounts,
__in int nCount,
__in int fnPolyFillMode
);
CreatePolyPolygonRgn功能
该CreatePolyPolygonRgn函数创建一个区域的多边形系列组成。多边形可以重叠。
参数
lppt [in]
对一个Point结构数组的指针,定义在逻辑单元的多边形的顶点。指定的多边形连续。每个多边形推定关闭,每个顶点指定一次。
lpPolyCounts [in]
一个整数数组的指针,其中每个指定在数组中的多边形之一若干点所指向的lppt。
nCount [in]
整数的数组中的总人数指向lpPolyCounts。
fnPolyFillMode [in]
填充模式用于确定哪些像素在该区域。此参数可以是下列值之一。
ValueMeaning
ALTERNATESelects替代模式(填补之间的奇数和偶数扫描线每双方多边形面积)。
WINDINGSelects绕组模式(填充与清盘值非零任何地区)。
如需有关这些模式的详细信息,请参阅SetPolyFillMode功能。
返回值
如果函数成功,返回值是处理该地区。
如果函数失败,返回值是零。
备注
当您不再需要HRGN对象,调用DeleteObject函数将其删除。
地区坐标表示为27位有符号整数。
要求:
最低支持:client-Windows 2000专业版
最低支持server-Windows 2000服务器
HeaderWingdi.h(头文件:winuser.h)
LibraryGdi32.lib
DLLGdi32.dll
参见
地区概况
区域函数
CreatePolygonRgn
CreateRectRgn
CreateRectRgnIndirect
CreateRoundRectRgn
ExtCreateRegion
GetRegionData
DeleteObject

SelectObject
SetPolyFillMode
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年7月11日
==英文原文==CreatePolyPolygonRgn Function
The CreatePolyPolygonRgn function creates a region consisting of a series of polygons. The polygons can overlap.
Syntax
HRGN CreatePolyPolygonRgn(
__in const POINT *lppt,
__in const INT *lpPolyCounts,
__in int nCount,
__in int fnPolyFillMode
);
Parameters
lppt [in]
A pointer to an array of POINT structures that define the vertices of the polygons in logical units. The polygons are specified consecutively. Each polygon is presumed closed and each vertex is specified only once.
lpPolyCounts [in]
A pointer to an array of integers, each of which specifies the number of points in one of the polygons in the array pointed to by lppt.
nCount [in]
The total number of integers in the array pointed to by lpPolyCounts.
fnPolyFillMode [in]
The fill mode used to determine which pixels are in the region. This parameter can be one of the following values.
ValueMeaning
ALTERNATESelects alternate mode (fills area between odd-numbered and even-numbered polygon sides on each scan line).
WINDINGSelects winding mode (fills any region with a nonzero winding value).

For more information about these modes, see the SetPolyFillMode function.
Return Value
If the function succeeds, the return value is the handle to the region.
If the function fails, the return value is zero.
Remarks
When you no longer need the HRGN object, call the DeleteObject function to delete it.
Region coordinates are represented as 27-bit signed integers.
Requirements
Minimum supported clientWindows 2000 Professional
Minimum supported serverWindows 2000 Server
HeaderWingdi.h (include Windows.h)
LibraryGdi32.lib
DLLGdi32.dll
See Also
Regions Overview
Region Functions
CreatePolygonRgn
CreateRectRgn
CreateRectRgnIndirect
CreateRoundRectRgn
ExtCreateRegion
GetRegionData
DeleteObject
POINT
SelectObject
SetPolyFillMode
Send comments about this topic to Microsoft
Build date: 7/11/2009
==原始网址==http://msdn.microsoft.com/en-us/library/dd183512(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:22:57