New Magnification API
Vista ã«æ¨æºã§ä»å±ããæ¡å¤§é¡ã IntelliMouse 6.10 ã®æ¡å¤§é¡ã DWM ç°å¢ã§å®è¡ããã¨ï¼ä»¥åã¨ã¯ã¡ãã£ã¨ã¡ãããï¼ã¨ãã話ï¼
ç§ã id:Yamaki ããã®è¨äºã§åãã¦ç¥ãã¾ãããï¼ç¢ºãã« WPF ã¢ããªã±ã¼ã·ã§ã³ã¯æ¡å¤§é¡ã®ä¸ã§ãé«è§£å度ã§ã¬ã³ããªã³ã°ããããã®ããã«ãæ¯ãèã£ã¦ãã¾ãï¼ãªãï¼DWM ãªãã®ã¨ããï¼Windows XP ã®æ¡å¤§é¡ããã®ã¾ã¾ Vista ã§å®è¡ãããã¨ãã¯ï¼ãã®å¹æã¯è¦ããã¾ããã§ããï¼
ä¸æ¹ï¼Vista ã§ã¯ Magnification API ã¨ããæ¡å¤§é¡ç¨ã® API ã追å ããã¦ãã¾ãï¼ããã®ãµã³ãã«ã "C:\Program Files\Microsoft SDKs\Windows\v6.0\Samples\winui\Magnification" ã«ããã®ã§è©¦ãã¦ã¿ãã¨ããï¼Vista ã«æ¨æºã§ä»å±ããæ¡å¤§é¡åæ§ã«ï¼WPF ã¢ããªã±ã¼ã·ã§ã³ã®ãã¯ã¿çæ¡å¤§ãåç¾ããã¾ããï¼ã¨ããããã§ï¼æãããã®æ° API ã®æ©è½ãªã®ã§ãããï¼
å¾æ¥ Windows ã§æ¡å¤§é¡ã¨ããã¨ï¼Display DC ãã BitBlt ã§ã³ãã¼ã¨ãããã¿ã¼ã³ã主æµã§ãããï¼Vista ã§ã¯ API ãå°ç¨ã«ç¨æãããã¨ã§ MIL ã¬ãã«ã®ã¢ã¯ã»ã©ã¬ã¼ã·ã§ã³ãå©ç¨ã§ããããã§ããï¼
Vista Magnification API ã¯ï¼åã«ãã¹ã¯ãããã¤ã¡ã¼ã¸ãæ¡å¤§ããã ãã§ãªãï¼ä»æã® GPU çãªè¿½å æ©è½ãå¤æ°å®è£
ããã¦ããããã§ãï¼
- 3 次æ£æ¹è¡åãç»é²ãã¦ï¼æ¡å¤§é¡è¡¨ç¤ºã¤ã¡ã¼ã¸ãæ¡å¤§ã»å転ã»ããæã»å¹³è¡ç§»å (å転ããæ¡å¤§é¡ãå¯è½ã«)
- ã«ã©ã¼ãããªã¯ã¹ã«ããè²å¤æ (å転以å¤ã®ã¨ãã§ã¯ããå¯è½ã«ï¼Virtual Boy åå¯è½)
- 表示対象ã®ã¦ã£ã³ãã¦ã HWND ã§å¶é (Include ã¾ã㯠Exclude ãªã¹ã)
- GDI æç»ã¦ã£ã³ãã¦ãæ¡å¤§ããã¨ãã«ã³ã¼ã«ããã¯ãããï¼ã«ã¹ã¿ã æ¡å¤§ãã£ã«ã¿ã®ç»é² (ã©ããã·ã¹ãã ã¡ã¢ãªä¸ã«ããã®ã§ï¼CPU ã§ãã£ã«ã¿ãªã³ã°ããã®ãã¢ãªã¨ãããã¨ã§ããã)
ãªã©ãå¯è½ãªããã§ãï¼