17.02.2014, 15:55
Posting for future reference.
Solved - It was a simple three rule:
300 (Difference between Max Y and Min Y) - Total Pages (all of the pages)
X (unknown Y for each page) - Current Page
So you can calculate: ((300 * (Current Page-1))/Total Pages)+125 and you'll get the proportional Y coordinate.
-1 Is there so it can result 0 and go back to the start:: 0/0 = 0 (not really) + 125 = 125.
Solved - It was a simple three rule:
300 (Difference between Max Y and Min Y) - Total Pages (all of the pages)
X (unknown Y for each page) - Current Page
So you can calculate: ((300 * (Current Page-1))/Total Pages)+125 and you'll get the proportional Y coordinate.
-1 Is there so it can result 0 and go back to the start:: 0/0 = 0 (not really) + 125 = 125.