Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /******************************************************************************\
- Stash Grid Coorinates Data [ryunp]
- \******************************************************************************/
- All calculations must be rounded for integer pixel location and gives
- inconsistent visual coordinates.
- Ratios Summary Charts (g=grid, c=cell, w=window):
- 1920x1080 [16:9] | 1280x800 [16:10] | 1024x768 [4:3]
- 1920x1080 gWidth gHeight wHeight
- gY na na 0.2046
- gWidth na na 0.3703
- cWidth 0.1364 na 0.0505
- cHeight na 0.0952 na
- 1280x800 gWidth gHeight wHeight
- gY na na 0.2050
- gWidth na na 0.3712
- cWidth 0.1370 na 0.0508
- cHeight na 0.0957 na
- 1024x768 gWidth gHeight wHeight
- gY na na 0.2044
- gWidth na na 0.3710
- cWidth 0.1368 na 0.0507
- cHeight na 0.0953 na
- /******************************************************************************\
- 1920x1080 [16:9]
- \******************************************************************************/
- [Panel]
- Origin: 0,0
- Size: 530x1080
- [Grid]
- Origin: 65x221
- Size: 400x573
- Layout: 7x10
- [Cell]
- Size: 54.571x54.6
- Padding: 3
- Ratio Calculations:
- Grid Y / Win Height (+- 1): 221 / 1080 = 0.204629629
- Grid Width / Win Height: 400 / 1080 = 0.370370370
- Cell Width / Win Height: 54.571 / 1080 = 0.050528703
- Cell Width / Grid Width: 54.571 / 400 = 0.1364275
- Cell Height / Grid Height: 54.6 / 1080 = 0.095287958
- Ratios Summary Chart (g=grid, c=cell, w=window):
- [16:9] gWidth gHeight wHeight
- gY na na 0.2046
- gWidth na na 0.3703
- cWidth 0.1364 na 0.0505
- cHeight na 0.0952 na
- /******************************************************************************\
- 1280x800 [16:10]
- \******************************************************************************/
- [Panel]
- Origin: 0,0
- Size: 392x800
- [Grid]
- Origin: 47x164
- Size: 297x426
- Layout: 7x10
- [Cell]
- Size: 40.714x40.8
- Padding: 2
- Ratio Calculations:
- Grid Y / Win Height (+- 1): 164 / 800 = 0.205
- Grid Width / Win Height: 297 / 800 = 0.37125
- Cell Width / Win Height: 40.714 / 800 = 0.0508925
- Cell Width / Grid Width: 40.714 / 297 = 0.137084175
- Cell Height / Grid Height: 40.8 / 426 = 0.095774647
- Ratios Summary Chart (g=grid, c=cell, w=window):
- [16:10] gWidth gHeight wHeight
- gY na na 0.205
- gWidth na na 0.3712
- cWidth 0.1370 na 0.0508
- cHeight na 0.0957 na
- /******************************************************************************\
- 1024x768 [4:3]
- \******************************************************************************/
- [Panel]
- Origin: 0,0
- Size: 376x768
- [Grid]
- Origin: 46x156
- Size: 285x409
- Layout: 7x10
- [Cell]
- Size: 39x39
- Padding: 2
- Ratio Calculations:
- Grid Y / Win Height (+- 1): 157 / 768 = 0.204427083
- Grid Width / Win Height: 285 / 768 = 0.37109375
- Cell Width / Win Height: 39 / 768 = 0.05078125
- Cell Width / Grid Width: 39 / 285 = 0.136842105
- Cell Height / Grid Height: 39 / 409 = 0.095354523
- Ratios Chart (g=grid, c=cell, w=window):
- [4:3] gWidth gHeight wHeight
- gY na na 0.2044
- gWidth na na 0.3710
- cWidth 0.1368 na 0.0507
- cHeight na 0.0953 na
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement