1 Reply Latest reply on Sep 26, 2009 9:22 AM by paul.williams

    DPI on canvas

    ckisthebest Level 1

      I am adding some text boxes on Canvas.

       

      After adding I am saving whole canvas in XML.

       

      I am using following formula for saving text elements on canvas.

       

      text.x = text.x / canvas.dpi

       

      while loading again on canvas

       

      text.x = text.x * canvas.dpi

       

      At some places my text is not loading at correct position.

       

      Can anybody help me where am i wrong?