精华区
[
关闭
][
返回
]
当前位置:
网易精华区
>>
讨论区精华
>>
编程开发
>>
● Delphi
>>
Windows API函数
>>
Re:有没有现成的函数判断一个点是否在一个多边形内?
主题:Re:有没有现成的函数判断一个点是否在一个多边形内?
发信人: dainv()
整理人: delfan(2001-04-10 00:46:32), 站内信件
【 在 yhyzh 的大作中提到:】
:自己写好象很烦。
:......
Win32 API
BOOL PtInRegion(
HRGN hrgn, // handle of region
int X, // x-coordinate of point
int Y // y-coordinate of point
);
建立多边形Region不用说了吧,自己查API。
----
<img src="http://uh1.gz.163.com photo?name=dainv" border=0 alt="ABOUT">
[
关闭
][
返回
]