网站首页  词典首页

请输入您要查询的函数:

 

术语 polypolygon
释义 PolyPolygon
语法:
BOOL PolyPolygon(
__in HDC hdc,
__in const POINT *lpPoints,
__in const INT *lpPolyCounts,
__in int nCount
);
PolyPolygon功能
该PolyPolygon函数绘制了一系列封闭多边形。概述每个多边形使用目前的笔和使用当前画笔和多边形填充模式填补。得出这一功能可以重叠的多边形。
参数
hdc [in]
一个句柄,设备上下文。
lpPoints [in]
对一个Point结构的数组指针,定义了多边形的顶点,在逻辑坐标。指定的多边形连续。每个多边形关闭自动绘制从上顶点行第一。每个顶点的应该是一次指定。
lpPolyCounts [in]
一个整数数组的指针,其中每个指定点在相应的多边形数目。每个整数必须大于或等于2。
nCount [in]
多边形的总人数。
返回值
如果函数成功,返回值为非零。
如果函数失败,返回值是零。
备注
当前位置既不更新也不使用这项功能。
任何额外的点被忽略。为了吸引更多的多边形点,您的数据划分成小组,每个小组有超过满分的少,并要求各组点的功能。注意,最好是在只有一个多边形的群体之一。
要求:
最低支持:client-Windows 2000专业版
最低支持server-Windows 2000服务器
HeaderWingdi.h(头文件:winuser.h)
LibraryGdi32.lib
DLLGdi32.dll
参见
填充形状概述
填充形状函数
GetPolyFillMode

多边形
折线
PolylineTo
SetPolyFillMode
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年7月11日
==英文原文==PolyPolygon Function
The PolyPolygon function draws a series of closed polygons. Each polygon is outlined by using the current pen and filled by using the current brush and polygon fill mode. The polygons drawn by this function can overlap.
Syntax
BOOL PolyPolygon(
__in HDC hdc,
__in const POINT *lpPoints,
__in const INT *lpPolyCounts,
__in int nCount
);
Parameters
hdc [in]
A handle to the device context.
lpPoints [in]
A pointer to an array of POINT structures that define the vertices of the polygons, in logical coordinates. The polygons are specified consecutively. Each polygon is closed automatically by drawing a line from the last vertex to the first. Each vertex should be specified once.
lpPolyCounts [in]
A pointer to an array of integers, each of which specifies the number of points in the corresponding polygon. Each integer must be greater than or equal to 2.
nCount [in]
The total number of polygons.
Return Value
If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero.
Remarks
The current position is neither used nor updated by this function.
Any extra points are ignored. To draw the polygons with more points, divide your data into groups, each of which have less than the maximum number of points, and call the function for each group of points. Note, it is best to have a polygon in only one of the groups.
Requirements
Minimum supported clientWindows 2000 Professional
Minimum supported serverWindows 2000 Server
HeaderWingdi.h (include Windows.h)
LibraryGdi32.lib
DLLGdi32.dll
See Also
Filled Shapes Overview
Filled Shape Functions
GetPolyFillMode
POINT
Polygon
Polyline
PolylineTo
SetPolyFillMode
Send comments about this topic to Microsoft
Build date: 7/11/2009
==原始网址==http://msdn.microsoft.com/en-us/library/dd162818(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:20:51