FabricJS export relative to canvas <p>I'm building a authoring tool in FabricJS which is meant to export something for android devices. It's decided that I will support only 6/9 screen ratio (other screens will get black borders). My problem is that I open the page on my pc, add and edit some elements and export ( using the fabricjs serializer ) and then I open on a laptop (different display size), the canvas gets resized correctly (with some js magic) but the elements are still at the same location and same size as on the big display . The problem is that FabricJS does not create elements relative to canvas size.</p> <p>I can write my own export/load functions, but it feels wrong because each element has <em>width</em>, <em>height</em>, <em>scaleX</em> and <em>scaleY</em>. Using the handles changes the scale for some reason. This leads me to think that there is something like a canvas scale, but there is not.</p> <p>Am I missing something? How does one go about exporting and then opening on a different screen, but maintaining the canvas ratio and having elements relative to the canvas size.</p>