Question regarding SavePositions(...) ndpi variable
I'm trying to figure out what the variable ndpi, defined in MuseScore::savePositions(Score*, QIODevice*,bool) is representing and why it's computed that way, (line 57 in https://github.com/musescore/MuseScore/blob/c9f8a138529c15bf9d096e53a4a…)
I asked few (in fact a lot) of people what is the meaning/intention/purpose of applying a "dpi factor" to a distance in pixel unit (line 92 to 95), and they ended up having the same interrogations as me (most working in graphic/printing industry) as it doesn't make much sense (yet) if seen as "pixel_distance * dpi", so I'm clearly missing something, does someone knows why it's done ? What does the resulting values of lines 92 to 95 unit is and "means" ?
I also browsed the file history, but it didn't helped much to figure this out,
Have a great day and thanks in advance for your answers/help, I feel like I'm missing something,
love and play.
EDIT: also, re-read the subsection description I might be in the wrong part of the forum, if so, let me know, I'll ask it in another place, just saw this as the "developer subforum", but might totally be wrong.