像素转换

 

1920*1920 1920*1080的转换

  WinX = WinX * 9 / 16 (1080/1920)

  WinY = WinY * 9 / 16 (1080/1920)

  WinW = WinW

  WinH = WinH * 9 / 16 (1080/1920)

posted @ 2018-08-22 17:10  panchanggui  阅读(466)  评论(0编辑  收藏  举报