VB °æ (¾«»ªÇø)
·¢ÐÅÈË: bloom (©À©Á©Â©Ã©Ä©Æ©Ç¨), ÐÅÇø: VB
±ê Ìâ: CreatePolyPolygonRgn(É豸³¡¾°)(תÔØ)
·¢ÐÅÕ¾: ¹þ¹¤´ó×϶¡Ïã (2000Äê09ÔÂ07ÈÕ18:35:49 ÐÇÆÚËÄ), תÐÅ
¡¾ ÒÔÏÂÎÄ×ÖתÔØ×Ô cnTemp ÌÖÂÛÇø ¡¿
¡¾ ÔÎÄÓÉ catchy Ëù·¢±í ¡¿
·¢ÐÅÈË: yucheng (ÎÞ»°¿É˵), ÐÅÇø: VisualBasic
·¢ÐÅÕ¾: BBS ˮľÇ廪վ (Sun Apr 2 23:52:38 2000) WWW-POST
CreatePolyPolygonRgn
VBÉùÃ÷
Declare Function CreatePolyPolygonRgn Lib "gdi32" Alias "CreatePolyPolygonRgn"
(lpPoint As POINTAPI, lpPolyCounts As Long, ByVal nCount As Long, ByVal
nPolyFillMode As Long) As Long
˵Ã÷
´´½¨Óɶà¸ö¶à±ßÐι¹³ÉµÄÇøÓò¡£Ã¿¸ö¶à±ßÐζ¼Ó¦ÊÇ·â±ÕµÄ
·µ»ØÖµ
Long£¬Ö´Ðгɹ¦ÔòΪ´´½¨ÇøÓòµÄ¾ä±ú£¬Ê§°ÜÔòΪÁã
²ÎÊý±í
²ÎÊý ÀàÐͼ°ËµÃ÷
lpPoint POINTAPI£¬nCount¸öPOINTAPI½á¹¹ÖеĵÚÒ»¸öPOINTAPI½á¹¹
lpPolyCounts Long£¬³¤ÕûÊýÕóÁеĵÚÒ»¸öÈë¿Ú¡£Ã¿¸öÈë¿Ú°üº¬¹¹³ÉÒ»¸ö·â±Õ¶à±ßÐεĵã
Êý¡£lpPointÕóÁÐ×é³ÉÁËһϵÁжà±ßÐΣ¬Ã¿¸ö¶à±ßÐÎÔÚlpPolyCountsÖÐÓÐÒ»¸öÈë¿Ú
nCount Long£¬¶à±ßÐεĵãÊý
nPolyFillMode Long£¬ÃèÊö¶à±ßÐÎÌî³äģʽ¡£¿ÉΪALTERNATE »ò WINDING³£Êý¡£²Î¿¼
SetPolyFillModeº¯Êý¶Ô¶à±ßÐÎÌî³äģʽµÄ½âÊÍ
×¢½â
²»ÓÃʱһ¶¨ÒªÓÃDeleteObjectº¯Êýɾ³ý¸ÃÇøÓò
--
--
¡î À´Ô´:£®¹þ¹¤´ó×϶¡Ïã bbs.hit.edu.cn£®[FROM: casi.bbs@smth.org]
--
¡ù תÔØ:£®¹þ¹¤´ó×϶¡Ïã bbs.hit.edu.cn£®[FROM: 202.118.247.254]
Powered by KBS BBS 2.0 (http://dev.kcn.cn)
Ò³ÃæÖ´ÐÐʱ¼ä£º3.016ºÁÃë