VB °æ (¾«»ªÇø)
·¢ÐÅÈË: bloom (©À©Á©Â©Ã©Ä©Æ©Ç¨), ÐÅÇø: VB
±ê Ìâ: AngleArc(»æͼº¯Êý)(תÔØ)
·¢ÐÅÕ¾: ¹þ¹¤´ó×϶¡Ïã (2000Äê09ÔÂ07ÈÕ18:35:02 ÐÇÆÚËÄ), תÐÅ
¡¾ ÒÔÏÂÎÄ×ÖתÔØ×Ô cnTemp ÌÖÂÛÇø ¡¿
¡¾ ÔÎÄÓÉ catchy Ëù·¢±í ¡¿
·¢ÐÅÈË: yucheng (ÎÞ»°¿É˵), ÐÅÇø: VisualBasic
·¢ÐÅÕ¾: BBS ˮľÇ廪վ (Mon Apr 3 00:12:39 2000) WWW-POST
AngleArc
VBÉùÃ÷
Declare Function AngleArc Lib "gdi32" Alias "AngleArc" (ByVal hdc As Long,
ByVal x As Long, ByVal y As Long, ByVal dwRadius As Long, ByVal eStartAngle
As Double, ByVal eSweepAngle As Double) As Long
˵Ã÷
ÓÃÒ»¸öÁ¬½Ó»¡»Ò»ÌõÏߣ¬²Î¿¼×¢½â
·µ»ØÖµ
Long£¬·ÇÁã±íʾ³É¹¦£¬Áã±íʾʧ°Ü
²ÎÊý±í
²ÎÊý ÀàÐͼ°ËµÃ÷
hdc Long£¬ÒªÔÚÆäÖÐ×÷ͼµÄÉ豸³¡¾°
x,y Long£¬¶Ô»¡½øÐÐÃèÊöµÄÒ»¸öÔ²µÄÖÐÐĵã×ø±ê
dwRadius Long£¬Ô²µÄ°ë¾¶
eStartAngle Double£¬ÏßͬԲÁ¬½ÓʱµÄ½Ç¶È£¨ÒÔ¶ÈÊýΪµ¥Î»£©
eSweepAngle Double£¬»¡ÔÚÔ²ÉÏÕ¼¾ÝµÄ·¶Î§£¨ÒÔ¶ÈÊýΪµ¥Î»£©
×¢½â
×¢ÒâeStartAngleºÍeSweepAngle²ÎÊýÊÇÒÔ¶ÈÊýΪµ¥Î»Ö¸¶¨µÄ£¬¶øÇÒÓ¦¸ÃÊǵ¥¾«¶ÈÊý£¨
Single£©¶ø²»ÊÇË«¾«¶È¡£ÏàÓ¦µÄº¯ÊýÉùÃ÷Ϊ£ºDeclare Function AngleArc& Lib
"gdi32" (ByVal hdc As Long, ByVal x As Long, ByVal y As Long, ByVal dwRadius
As Long, ByVal eStartAngle As Single, ByVal eSweepAngle As Single)¡£
ÎÒµÄÀí½â£º±¾ÎÄ¿ªÍ·µÄº¯ÊýÉùÃ÷¸´ÖÆÓÚvbµÄapiÎı¾²é¿´Æ÷£¬´Ë´¦µÄÉùÃ÷À´×ÔÓÚÎҵIJο¼
×ÊÁÏ£¬Ò²²»ÖªË¶ÔË´í¡£²ÎÊý±íµÄ˵Ã÷£¬°´vbµÄapiÎı¾²é¿´Æ÷Öи´ÖÆÀ´µÄÉùÃ÷ÖеÄÊý¾Ý
ÀàÐÍ¡£ÇëʹÓÃÕß×¢Òâ
--
--
¡î À´Ô´:£®¹þ¹¤´ó×϶¡Ïã 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)
Ò³ÃæÖ´ÐÐʱ¼ä£º2.048ºÁÃë