VB °æ (¾«»ªÇø)
·¢ÐÅÈË: bloom (©À©Á©Â©Ã©Ä©Æ©Ç¨), ÐÅÇø: VB
±ê Ìâ: ModifyWorldTransform(É豸³¡¾°)(תÔØ)
·¢ÐÅÕ¾: ¹þ¹¤´ó×϶¡Ïã (2000Äê09ÔÂ07ÈÕ18:40:00 ÐÇÆÚËÄ), תÐÅ
¡¾ ÒÔÏÂÎÄ×ÖתÔØ×Ô cnTemp ÌÖÂÛÇø ¡¿
¡¾ ÔÎÄÓÉ catchy Ëù·¢±í ¡¿
·¢ÐÅÈË: yucheng (ÎÞ»°¿É˵), ÐÅÇø: VisualBasic
·¢ÐÅÕ¾: BBS ˮľÇ廪վ (Mon Apr 3 00:03:26 2000) WWW-POST
ModifyWorldTransform
VBÉùÃ÷
Declare Function ModifyWorldTransform Lib "gdi32" Alias "ModifyWorldTransform"
(ByVal hdc As Long, lpXform As xform, ByVal iMode As Long) As Long
˵Ã÷
¸ù¾ÝÖ¸¶¨µÄģʽÐÞ¸ÄÊÀ½çת»»
·µ»ØÖµ
Long£¬Ö´Ðгɹ¦Îª·ÇÁãÖµ£¬Ê§°ÜΪ0
²ÎÊý±í
²ÎÊý ÀàÐͼ°ËµÃ÷
hdc Long£¬É豸³¡¾°£¬ÆäÊÀ½ç×ø±ê½«±»ÐÞ¸Ä
lpXform xform£¬Õâ¸ö½á¹¹ÄÚº¬¸ù¾ÝiMode²ÎÊý¸½¼ÓµÄת»»
iMode Long£¬ÏÂÁг£ÊýÖ®Ò»£º
MWT_IDENTITY ÉèÖÃÊÀ½çת»»ÎªÄ¬ÈϵÄÌØÐÔת»»£¨ÓøÃÌØÐÔת»»Ê±£¬ÊÀ½çת»»ÎÞЧ£©£¬ºö
ÂÔlpXform²ÎÊý
MWT_LEFTMULTIPLY lpXformת»»±»µ±Ç°×ª»»³Ë£¬³Ë»ýÉèΪеÄÊÀ½çת»»
MWT_RIGHTMULTIPLY µ±Ç°×ª»»±»lpXformת»»³Ë£¬³Ë»ýÉèΪеÄÊÀ½çת»»
×¢½â
ÓëÒ»°ãµÄ³Ë·¨²»Í¬£¬¾ØÕó³Ë·¨µÄ½á¹ûÓë¾ØÕó˳ÐòÓйء£ÔÚMWT_LEFTMULTIPLYģʽ£¬
lpXformΪ×ó±ßµÄ²Ù×÷Êý¡£Çë²Î¿¼¸ßµÈ´úÊýÏà¹ØÊé¼®¡£
µ÷Óñ¾º¯ÊýÇ°ÏÈÓ¦µ÷ÓÃSetGraphicsModeº¯ÊýÉèÖÃGM_ADVANCEDͼÐÎģʽ
ÊÊÓÃƽ̨
Windows NT
--
--
¡î À´Ô´:£®¹þ¹¤´ó×϶¡Ïã 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.232ºÁÃë