2 Replies Latest reply on Oct 23, 2015 3:42 AM by Jeroen_vloon

    How does indesign generate oval's

    Jeroen_vloon

      Hello,

       

      I need a way to calculate oval's in indesign.

       

      here is what i have tried so far:

       

      open indesign > new Document > make an oval at the cordinates below > save as ***.idml > change the name to ***.zip > extract the files to folder > open Spreads/spread_ud7.xml in notepad++ to see the pathpoints as shown below.

      x199
      y201
      b99
      h

      101

      <Oval Self="udc" ItemLayer="uc4" ItemTransform="1 0 0 1 55 40.05511811100001">

        <PathPointType Anchor(1)="144 -210" LeftDirection="116.93804741333334 -210" RightDirection="171.06195258666668 -210" />

        <PathPointType Anchor="193 -260" LeftDirection="193 -232.3857626666667" RightDirection="193 -287.6142373333334" />

        <PathPointType Anchor(2)="144 -310" LeftDirection="171.06195258666668 -310" RightDirection="116.93804741333334 -310" />

        <PathPointType Anchor="95 -260" LeftDirection="95 -287.6142373333334" RightDirection="95 -232.3857626666667" />

       

      now that i have the pathpoints i need to know how indesign generates this cordinates.

      I know that with a rectangle it goes like this:


      Anchor="x + y"                                   LeftDirection="x + y"                                  RightDirection="x + y"

      Anchor="x + (y + height)"                    LeftDirection="x + (y + height)"                    RightDirection="x + (y + height)"

      Anchor=" (x + width) + (y + height)"     LeftDirection=" (x + width) + (y + height)"     RightDirection=" (x + width) + (y + height)"

      Anchor="(x + width) + y"                     LeftDirection="(x + width) + y"                     RightDirection="(x + width) + y"

       

      with the Oval i got as far as:

      Anchor(1)and(2)           = x - the first one of the itemtransform.

       

      can anyone point me in the right direction or help me out!!?

      Thanks in advance