VB °æ (¾«»ªÇø)
·¢ÐÅÈË: bloom (©À©Á©Â©Ã©Ä©Æ©Ç¨), ÐÅÇø: VB
±ê Ìâ: PolyBezier(»æͼº¯Êý)(תÔØ)
·¢ÐÅÕ¾: ¹þ¹¤´ó×϶¡Ïã (2000Äê09ÔÂ07ÈÕ18:40:17 ÐÇÆÚËÄ), תÐÅ
¡¾ ÒÔÏÂÎÄ×ÖתÔØ×Ô cnTemp ÌÖÂÛÇø ¡¿
¡¾ ÔÎÄÓÉ bloom Ëù·¢±í ¡¿
·¢ÐÅÈË: yucheng (ÎÞ»°¿É˵), ÐÅÇø: VisualBasic
·¢ÐÅÕ¾: BBS ˮľÇ廪վ (Mon Apr 3 00:32:46 2000) WWW-POST
PolyBezier, PolyBezierTo
VBÉùÃ÷
Declare Function PolyBezier& Lib "gdi32" (ByVal hdc As Long, lppt As
POINTAPI, ByVal cPoints As Long)
Declare Function PolyBezierTo& Lib "gdi32" (ByVal hdc As Long, lppt As
POINTAPI, ByVal cCount As Long)
˵Ã÷
Ãè»æÒ»Ìõ»ò¶àÌõ±´Èû¶û£¨Bezier£©ÇúÏß¡£PolyBezierToÓÃÓÚ½«µ±Ç°»±ÊλÖÃÉèΪǰһÌõÇú
ÏßµÄÖÕµã
·µ»ØÖµ
Long£¬·ÇÁã±íʾ³É¹¦£¬Áã±íʾʧ°Ü
²ÎÊý±í
²ÎÊý ÀàÐͼ°ËµÃ÷
hdc Long£¬ÒªÔÚÆäÖлæͼµÄÉ豸³¡¾°
lppt POINTAPI£¬Ö¸¶¨Ò»¸öPOINTAPI½á¹¹Êý×é¡£ÆäÖеĵÚÒ»¸ö½á¹¹Ö¸¶¨ÁËÆðµã¡£Ê£Ïµĵã
Èý¸öÒ»×顪¡ª°üÀ¨Á½¸ö¿Ø¼þµãºÍÒ»¸öÖÕµã
ÔÎÄ£ºAn array of POINTAPI structures. The first structure specifies the
starting point. The remaining points are in groups of three, consisting of
two control points and an end point.
cPoints Long£¬lpptÊý×éµÄ×ܵãÊý
Àý×Ó£º
1-57£¬
--
--
¡î À´Ô´:£®¹þ¹¤´ó×϶¡Ïã 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.981ºÁÃë