Thank you for your answer. I have solved my problem in an other way:1. I have divided the height of the screen (e.g. Nexus 4: 1280px -96px (navigation bar) = 1184) through the x-position of the first point (x/y) see picture.2. Then the width...3. Step 1 and 2 with the second point (x2/y2)

At the end i got the quotients, which I have saved in arrays (double):

java-gaming.org is not responsible for the content posted by its members, including references to external websites,
and other references that may or may not have a relation with our primarily
gaming and game production oriented community.
inquiries and complaints can be sent via email to the info‑account of the
company managing the website of java‑gaming.org