Advertisement
Guest User

Untitled

a guest
May 3rd, 2016
41
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.08 KB | None | 0 0
  1. /******************************************************************************\
  2. Stash Grid Coorinates Data [ryunp]
  3. \******************************************************************************/
  4.  
  5. All calculations must be rounded for integer pixel location and gives
  6. inconsistent visual coordinates.
  7.  
  8. Ratios Summary Charts (g=grid, c=cell, w=window):
  9. 1920x1080 [16:9] | 1280x800 [16:10] | 1024x768 [4:3]
  10.  
  11. 1920x1080 gWidth gHeight wHeight
  12. gY na na 0.2046
  13. gWidth na na 0.3703
  14. cWidth 0.1364 na 0.0505
  15. cHeight na 0.0952 na
  16.  
  17. 1280x800 gWidth gHeight wHeight
  18. gY na na 0.2050
  19. gWidth na na 0.3712
  20. cWidth 0.1370 na 0.0508
  21. cHeight na 0.0957 na
  22.  
  23. 1024x768 gWidth gHeight wHeight
  24. gY na na 0.2044
  25. gWidth na na 0.3710
  26. cWidth 0.1368 na 0.0507
  27. cHeight na 0.0953 na
  28.  
  29.  
  30. /******************************************************************************\
  31. 1920x1080 [16:9]
  32. \******************************************************************************/
  33.  
  34. [Panel]
  35. Origin: 0,0
  36. Size: 530x1080
  37.  
  38. [Grid]
  39. Origin: 65x221
  40. Size: 400x573
  41. Layout: 7x10
  42.  
  43. [Cell]
  44. Size: 54.571x54.6
  45. Padding: 3
  46.  
  47. Ratio Calculations:
  48.  
  49. Grid Y / Win Height (+- 1): 221 / 1080 = 0.204629629
  50. Grid Width / Win Height: 400 / 1080 = 0.370370370
  51. Cell Width / Win Height: 54.571 / 1080 = 0.050528703
  52. Cell Width / Grid Width: 54.571 / 400 = 0.1364275
  53. Cell Height / Grid Height: 54.6 / 1080 = 0.095287958
  54.  
  55. Ratios Summary Chart (g=grid, c=cell, w=window):
  56.  
  57. [16:9] gWidth gHeight wHeight
  58. gY na na 0.2046
  59. gWidth na na 0.3703
  60. cWidth 0.1364 na 0.0505
  61. cHeight na 0.0952 na
  62.  
  63.  
  64. /******************************************************************************\
  65. 1280x800 [16:10]
  66. \******************************************************************************/
  67.  
  68. [Panel]
  69. Origin: 0,0
  70. Size: 392x800
  71.  
  72. [Grid]
  73. Origin: 47x164
  74. Size: 297x426
  75. Layout: 7x10
  76.  
  77. [Cell]
  78. Size: 40.714x40.8
  79. Padding: 2
  80.  
  81. Ratio Calculations:
  82.  
  83. Grid Y / Win Height (+- 1): 164 / 800 = 0.205
  84. Grid Width / Win Height: 297 / 800 = 0.37125
  85. Cell Width / Win Height: 40.714 / 800 = 0.0508925
  86. Cell Width / Grid Width: 40.714 / 297 = 0.137084175
  87. Cell Height / Grid Height: 40.8 / 426 = 0.095774647
  88.  
  89. Ratios Summary Chart (g=grid, c=cell, w=window):
  90.  
  91. [16:10] gWidth gHeight wHeight
  92. gY na na 0.205
  93. gWidth na na 0.3712
  94. cWidth 0.1370 na 0.0508
  95. cHeight na 0.0957 na
  96.  
  97.  
  98. /******************************************************************************\
  99. 1024x768 [4:3]
  100. \******************************************************************************/
  101.  
  102. [Panel]
  103. Origin: 0,0
  104. Size: 376x768
  105.  
  106. [Grid]
  107. Origin: 46x156
  108. Size: 285x409
  109. Layout: 7x10
  110.  
  111. [Cell]
  112. Size: 39x39
  113. Padding: 2
  114.  
  115. Ratio Calculations:
  116.  
  117. Grid Y / Win Height (+- 1): 157 / 768 = 0.204427083
  118. Grid Width / Win Height: 285 / 768 = 0.37109375
  119. Cell Width / Win Height: 39 / 768 = 0.05078125
  120. Cell Width / Grid Width: 39 / 285 = 0.136842105
  121. Cell Height / Grid Height: 39 / 409 = 0.095354523
  122.  
  123. Ratios Chart (g=grid, c=cell, w=window):
  124.  
  125. [4:3] gWidth gHeight wHeight
  126. gY na na 0.2044
  127. gWidth na na 0.3710
  128. cWidth 0.1368 na 0.0507
  129. cHeight na 0.0953 na
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement