VB °æ (¾«»ªÇø)
·¢ÐÅÈË: bloom (©À©Á©Â©Ã©Ä©Æ©Ç¨), ÐÅÇø: VB
±ê Ìâ: IntersectClipRect(É豸³¡¾°)(תÔØ)
·¢ÐÅÕ¾: ¹þ¹¤´ó×϶¡Ïã (2000Äê09ÔÂ07ÈÕ18:39:26 ÐÇÆÚËÄ), תÐÅ
¡¾ ÒÔÏÂÎÄ×ÖתÔØ×Ô cnTemp ÌÖÂÛÇø ¡¿
¡¾ ÔÎÄÓÉ catchy Ëù·¢±í ¡¿
·¢ÐÅÈË: yucheng (ÎÞ»°¿É˵), ÐÅÇø: VisualBasic
·¢ÐÅÕ¾: BBS ˮľÇ廪վ (Mon Apr 3 00:02:04 2000) WWW-POST
IntersectClipRect
VBÉùÃ÷
Declare Function IntersectClipRect Lib "gdi32" Alias "IntersectClipRect"
(ByVal hdc As Long, ByVal X1 As Long, ByVal Y1 As Long, ByVal X2 As Long,
ByVal Y2 As Long) As Long
˵Ã÷
Ϊָ¶¨É豸¶¨ÒåÒ»¸öеļô²ÃÇø£¬¸ÃÇøΪµ±Ç°¼ô²ÃÇøÓëÓɵãX1£¬Y1ºÍX2£¬Y2¶¨ÒåµÄ¾ØÐεÄ
½»¼¯
·µ»ØÖµ
Long£¬ÏÂÁг£ÊýÖ®Ò»£¬ÒÔÃèÊöµ±Ç°¼ô²ÃÇø£º
COMPLEXREGION£º¸ÃÇøÓòÓл¥ÏཻµþµÄ±ß½ç
SIMPLEREGION£º¸ÃÇøÓò±ß½çûÓл¥Ïཻµþ
NULLREGION£ºÇøÓòΪ¿Õ
ERRORAPI£º·¢ÉúÁË´íÎó
²ÎÊý±í
²ÎÊý ÀàÐͼ°ËµÃ÷
hdc Long£¬É豸³¡¾°
X1,Y1 Long£¬¾ØÐÎ×óÉϽÇX£¬Y×ø±ê
X2,Y2 Long£¬¾ØÐÎÓÒϽÇX£¬Y×ø±ê
--
--
¡î À´Ô´:£®¹þ¹¤´ó×϶¡Ïã 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.212ºÁÃë