...与设备无关的单位(Device-independent unit)或“设备无关像素”(device-independent pixel),“逻辑像素”(logical pixel),其实,这一个单位,也像素是一点关系都没有的。这个单位是WPF对度量的抽象,与设置无关的。
基于8个网页-相关网页
With your selected pixel coordinates and a single-layer base reflectivity map, the logical process for detecting precipitation near a spot on the map is straightforward.
使用选定的像素坐标和单层基本反射率图,检测地图中某个场所附近的降水的逻辑过程将十分简单。
The same goes even for pixels. Because of logical resolution differences, a pixel on one platform is not a pixel on another.
答案是,不要使用 pt,让用户自己选择阅读字体大小,px 也一样,因为逻辑分辨率的差别,一个平台上的 px 和另一个平台的 px 是不一样大的。
应用推荐