Relative position in multiple resolution

Discussion in 'Programming' started by Krystal, Aug 10, 2008.

  1. #1
    I'm working on a project that requires me to find the coordinates of user's clicks, however different resolution will affect the position of the clicks. so how would I find the relative position to a 1028x768 resolution?
     
    Krystal, Aug 10, 2008 IP
  2. rohan_shenoy

    rohan_shenoy Active Member

    Messages:
    441
    Likes Received:
    20
    Best Answers:
    0
    Trophy Points:
    60
    #2
    What are the units? If its pixels, you need not worry. Else it would be difficult and also inconsistent because SPI too is involved here.
     
    rohan_shenoy, Aug 10, 2008 IP