Transforming Rendering Values to mm or px

• Jan 16, 2015 - 13:39

Hey Guys,

i am struggeling a lot with the rendering part of musescore. I am using the latest build of musescore.

My goal is a Plugin that reads Note positions and saves them for later use.

My problem is, that the Points are measured in something i don't understand and i need to translate into pixel or mm after it is rendered.

I am exporting the Musescore Sheet in SVG.
For example my exported SVG has 1548mm in width but when i check the positions for the last note it has 973 as an output for the x-pos in my plugin. I am using the trim option while rendering, therefore the SVG is cropped and there must be a scaling factor between the positions inside my plugin and the SVG output.

I tried around some transformations with DPI and Inch to mm and stuff but i am not getting how musescore is calculating the own position values and how this change during export.

It would be really great to hear an ideas or opinions on this.

Cheers
Med

Do you still have an unanswered question? Please log in first to post your question.