首页 > Windows开发 > 详细

Windows Graphics Programming Win32 GDI and DirectDraw第六章疑问

时间:2014-07-16 20:11:50      阅读:386      评论:0      收藏:0      [点我收藏+]

《Windows Graphics Programming Win32 GDI and DirectDraw》6.1节中有这样的描述:

The Windows NT/2000 graphics engine uses signed fixed-point numbers to represent coordinates, having a 4-bit fraction part and a 28-bit signed integer part. Points with negative coordinates or coordinates beyond the height or width of the device surface are considered clipped. So the maximum physical device size is 227 by 227, or 0.88 mile by 0.88 mile in 2400 dots-per-inch (dpi) resolution.

我自己算的方法是:2^27 / 2400 / 1000 = 559240.55 

作者给出的是0.88mile,感觉很疑惑。

Windows Graphics Programming Win32 GDI and DirectDraw第六章疑问,布布扣,bubuko.com

Windows Graphics Programming Win32 GDI and DirectDraw第六章疑问

原文:http://www.cnblogs.com/licb/p/3837054.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!