VB °æ (¾«»ªÇø)
·¢ÐÅÈË: bloom (©À©Á©Â©Ã©Ä©Æ©Ç¨), ÐÅÇø: VB
±ê Ìâ: ScaleViewportExtEx(É豸³¡¾°)(תÔØ)
·¢ÐÅÕ¾: ¹þ¹¤´ó×϶¡Ïã (2000Äê09ÔÂ07ÈÕ18:40:59 ÐÇÆÚËÄ), תÐÅ
¡¾ ÒÔÏÂÎÄ×ÖתÔØ×Ô cnTemp ÌÖÂÛÇø ¡¿
¡¾ ÔÎÄÓÉ bloom Ëù·¢±í ¡¿
·¢ÐÅÈË: yucheng (ÎÞ»°¿É˵), ÐÅÇø: VisualBasic
·¢ÐÅÕ¾: BBS ˮľÇ廪վ (Mon Apr 3 00:06:35 2000) WWW-POST
ScaleViewportExtEx
VBÉùÃ÷
Declare Function ScaleViewportExtEx Lib "gdi32" Alias "ScaleViewportExtEx"
(ByVal hdc As Long, ByVal nXnum As Long, ByVal nXdenom As Long, ByVal nYnum
As Long, ByVal nYdenom As Long, lpSize As SIZE) As Long
˵Ã÷
Ëõ·ÅÉ豸³¡¾°Êӿڵķ¶Î§
·µ»ØÖµ
Long£¬Ö´Ðгɹ¦Îª·ÇÁãÖµ£¬Ê§°ÜΪ0
²ÎÊý±í
²ÎÊý ÀàÐͼ°ËµÃ÷
hdc Long£¬É豸³¡¾°¾ä±ú
nXnum,nYnum Long£¬µ±Ç°X£¬Y·¶Î§½«Óë±¾ÊýÖµÏà³Ë
nXdenom,nYdenom Long£¬µ±Ç°X£¬Y·¶Î§½«±»±¾ÊýÖµ³ý
lpSize SIZE£¬×°ÔØÔÓÐˮƽºÍ´¹Ö±ÊÓ¿Ú·¶Î§µÄ½á¹¹
×¢½â
±¾º¯Êý½öÔÚMM_ISOTROPIC ºÍ MM_ANISOTROPICÓ³ÉäģʽÏÂÓÐЧ£¬ÔÚMM_ISOTROPICģʽ£¬Òª
ÔÚÉèÖÃÊÓ¿Ú·¶Î§Ö®Ç°ÉèÖô°¿Ú·¶Î§
--
--
¡î À´Ô´:£®¹þ¹¤´ó×϶¡Ïã 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.578ºÁÃë