jgraph / drawio

draw.io is a JavaScript, client-side editor for general diagramming.
https://www.drawio.com
Other
40.55k stars 7.56k forks source link

Conversion CM <-> PT #3816

Open vfonsecad opened 1 year ago

vfonsecad commented 1 year ago

Preflight Checklist

Describe the bug

The size of the shapes is given in PT units, while the page setup is given in CM or inches. So the problem is that I needed to make a rectangle box for a poster and I googled the conversion between CM (my reference) and PT (draw io units for shapes). I found that the equivalence is 1 PT ~ 0.03 CM. I made the rectangle with this calculation and after printing and checking, the rectangle was not the correct size. After verifying by making a rectangle shape of the size of the page, it seems like draw io calculates a rate of 1PT ~ 0.02 CM? is this correct? What is the equivalence between PT and CM supposed to be?

draw.io version (In the Help->About menu of the draw.io editor):

Desktop (please complete the following information):

github-actions[bot] commented 2 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. See the FAQ for more information.