Advertisement
Guest User

Untitled

a guest
Apr 16th, 2014
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. object1.x = box.x
  2. object1.y = box.y
  3.  
  4. image: 200 x 300 pixels
  5. box top left: 100, 100 (pixels from top left of image)
  6. box width height: 20, 60
  7.  
  8. device 300 x 400:
  9. image will be scaled 1.5x in width, 1.333x in height
  10. so button box should be at (200*1.5*0.5, 300*1.333*0.333)
  11. with width 20*1.5 and height 60*1.333
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement