VB °æ (¾«»ªÇø)
·¢ÐÅÈË: bloom (©À©Á©Â©Ã©Ä©Æ©Ç¨), ÐÅÇø: VB
±ê Ìâ: PolyPolygon(»æͼº¯Êý)(תÔØ)
·¢ÐÅÕ¾: ¹þ¹¤´ó×϶¡Ïã (2000Äê09ÔÂ07ÈÕ18:40:19 ÐÇÆÚËÄ), תÐÅ
¡¾ ÒÔÏÂÎÄ×ÖתÔØ×Ô cnTemp ÌÖÂÛÇø ¡¿
¡¾ ÔÎÄÓÉ bloom Ëù·¢±í ¡¿
·¢ÐÅÈË: yucheng (ÎÞ»°¿É˵), ÐÅÇø: VisualBasic
·¢ÐÅÕ¾: BBS ˮľÇ廪վ (Mon Apr 3 00:33:41 2000) WWW-POST
PolyPolygon
VBÉùÃ÷
Declare Function PolyPolygon Lib "gdi32" Alias "PolyPolygon" (ByVal hdc As
Long, lpPoint As POINTAPI, lpPolyCounts As Long, ByVal nCount As Long) As
Long
˵Ã÷
Óõ±Ç°Ñ¡¶¨»±ÊÃè»æÁ½¸ö»ò¶à¸ö¶à±ßÐΡ£¸ù¾ÝÓÉSetPolyFillModeº¯ÊýÖ¸¶¨µÄ¶à±ßÐÎÌî³ä
ģʽ£¬Óõ±Ç°Ñ¡¶¨µÄË¢×ÓÌî³äËüÃÇ¡£Ã¿¸ö¶à±ßÐζ¼±ØÐëÊÇ·â±ÕµÄ
·µ»ØÖµ
Long£¬·ÇÁã±íʾ³É¹¦£¬Áã±íʾʧ°Ü¡£»áÉèÖÃGetLastError
²ÎÊý±í
²ÎÊý ÀàÐͼ°ËµÃ÷
hdc Long£¬ÒªÔÚÆäÖлæͼµÄÉ豸³¡¾°
lpPoint POINTAPI£¬nCount POINTAPI½á¹¹Êý×éÖеĵÚÒ»¸öPOINTAPI½á¹¹
lpPolyCounts Long£¬ÔÚLongÖµÊý×éÖеĵÚÒ»¸öÌõÄ¿¡£Ã¿¸öÌõÄ¿¶¼°üº¬ÁËÒ»¶¨ÊýÁ¿µÄµã£¬
ÓÃÓÚ¹¹³ÉÒ»¸ö·â±ÕµÄ¶à±ßÐΡ£lpPointÊý×éÓÉһϵÁзâ±ÕµÄ¶à±ßÐι¹³É£¬Ã¿¸öÔÚ
lpPolyCountsÊý×éÖж¼ÓÐÒ»¸öÌõÄ¿
nCount Long£¬ÒªÃè»æµÄ¶à±ßÐÎ×ÜÊý£¨¾ÍÊÇlpPolyCountsÊý×éµÄ´óС£©¡£ÖÁÉÙΪ2
--
--
¡î À´Ô´:£®¹þ¹¤´ó×϶¡Ïã bbs.hit.edu.cn£®[FROM: blo0m.bbs@smth.org]
--
¡ù תÔØ:£®¹þ¹¤´ó×϶¡Ïã bbs.hit.edu.cn£®[FROM: 202.118.247.254]
Powered by KBS BBS 2.0 (http://dev.kcn.cn)
Ò³ÃæÖ´ÐÐʱ¼ä£º2.563ºÁÃë