3 Replies Latest reply on May 20, 2007 8:39 AM by kglad

    Need formula for drawing method

    burritobot
      I need help figuring out a formula for a dynamically-generated diagram. Of course the lines will be drawn using the AS drawing API and I know I will need six coordinates total (the start point, the moveTo point, the curveTo point, the anchor point, and the end point) to draw the line.

      The position of both start and end points will be dynamic. Please see the diagram at the link for exactly what I need.

      http://www.themassivedump.com/uploads/drawing-logic.gif

      I don't really know where to begin. If there are any geometry wizzes out there, your help would be GREATLY appreciated.

      Thank you in advance!