How to make pixel independent size?

Have an application that generates the documentation. Special hotkey in place of the pointer is a Circle. The circle is the mark for a hint. Ie user puts the circles in those places where he needs to describe any element of the application and then do a screenshot of the places these slices well and has already generated Doc asciidoc where each circle is a variable that I can stick the item description. The point is that all of these actions are recorded in the file, in order to reproduce it. But screen resolutions are different everywhere and when reproduce these tests on different screens that......... Yet to come up with ideas to fix these circles and screenshots for a particular gcd, but it's a pain in the ass. Have experience in Android development and it uses the dip is There any formula how to make a pixel independent unit? Well, or maybe other ideas? The app complements the desktop on FX
July 9th 19 at 11:17
1 answer
July 9th 19 at 11:19
It is necessary to vicelat density pixels per inch dpi of each device to translate in cm or mm and have to operate with these values

Find more questions by tags AndroidJavaJavaFX