VB °æ (¾«»ªÇø)
·¢ÐÅÈË: bloom (©À©Á©Â©Ã©Ä©Æ©Ç¨), ÐÅÇø: VB
±ê Ìâ: GetWinMetaFileBits(»æͼº¯Êý)(תÔØ)
·¢ÐÅÕ¾: ¹þ¹¤´ó×϶¡Ïã (2000Äê09ÔÂ07ÈÕ18:39:18 ÐÇÆÚËÄ), תÐÅ
¡¾ ÒÔÏÂÎÄ×ÖתÔØ×Ô cnTemp ÌÖÂÛÇø ¡¿
¡¾ ÔÎÄÓÉ catchy Ëù·¢±í ¡¿
·¢ÐÅÈË: yucheng (ÎÞ»°¿É˵), ÐÅÇø: VisualBasic
·¢ÐÅÕ¾: BBS ˮľÇ廪վ (Mon Apr 3 00:30:32 2000) WWW-POST
GetWinMetaFileBits
VBÉùÃ÷
Declare Function GetWinMetaFileBits Lib "gdi32" Alias "GetWinMetaFileBits"
(ByVal hemf As Long, ByVal cbBuffer As Long, lpbBuffer As Byte, ByVal
fnMapMode As Long, ByVal hdcRef As Long) As Long
˵Ã÷
ͨ¹ýÔÚÒ»¸ö»º³åÇøÖÐÌî³äÓÃÓÚ±ê׼ͼԪÎļþµÄÊý¾Ý£¬½«Ò»¸öÔöÇ¿ÐÍͼԪÎļþת»»³É±ê×¼
windowsͼԪÎļþ
·µ»ØÖµ
Long£¬ÒÔ×Ö½ÚÊý±íʾµÄͼԪÎļþ³¤¶È¡£ÈçlpbBufferΪNULL£¨ÔÚÕâÖÖÇé¿öÏÂÓÃÒ»¸ö±ðÃûÖ¸
¶¨ByVal As Long£¬´Ó¶ø´«µÝÒ»¸öNULLÖµ£©¡ª¡ª·µ»Ø×Ö½ÚÊý×éµÄ³¤¶È¡£Áã±íʾ³ö´í£¨ÔÎÄ
£ºThe size in bytes of the metafile. If lpbBuffer is null (use an alias with
the parameter specified ByVal as Long to pass null to this function)-returns
the required size of the byte array. Zero on error.£©
²ÎÊý±í
²ÎÊý ÀàÐͼ°ËµÃ÷
hemf Long£¬Óûת»»µÄÔöÇ¿ÐÍͼԪÎļþµÄ¾ä±ú¡£º¯Êýµ÷ÓÃÍê±Ïºó£¬¸Ã¾ä±úÈÔÈ»±£³ÖÓÐЧ
cbBuffer Long£¬Ä¿±ê»º³åÇøµÄ³¤¶È
lpbBuffer Byte£¬×÷ΪĿ±ê»º³åÇøʹÓõÄÒ»¸ö×Ö½ÚÊý×éµÄµÚÒ»¸ö×Ö½Ú¡£Õâ¸öÊý×éµÄ³¤¶ÈÖÁ
ÉÙΪcbBuffer¸ö×Ö½Ú
fnMapMode Long£¬×ª»»Ê±²ÉÓõÄÓ³É䣨¶ÔÓ¦£©Ä£ÐÍ¡£Í¨³£ÓÃMM_ANISOTROPIC´´½¨Ò»¸ö¿ÉÀ©
Õ¹µÄͼԪÎļþ
hdcRef Long£¬Ò»¸ö²Î¿¼É豸³¡¾°£¬ÓÃÓÚ¾ö¶¨ÐÂͼԪÎļþ²ÉÓõIJο¼·Ö±æÂÊ
×¢½â
ÓÐЩÔöÇ¿ÐÍͼԪÎļþÃüÁîûÓжÔÓ¦µÄ±ê׼ͼԪÎļþÃüÁî¡£ÕâЩÃüÁî»áת»»³É×î½Ó½üµÄÃüÁî
£¬»òÕ߶ªÆú¡£½á¹ûÉú³ÉµÄͼԪÎļþÒÑÖ¸¶¨ÁË´°¿ÚµÄÏÔʾ·¶Î§¡£´°¿ÚµÄÆðµãÊÇ0£¬0
--
--
¡î À´Ô´:£®¹þ¹¤´ó×϶¡Ïã 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.428ºÁÃë