The Hanneman Balance scale

I like to ask, how the markings are calculated on this scale?

Thanks!
Richard Yeung.