[comp.sys.mac.programmer] Arrowhead line drawing

ba0k+@andrew.cmu.edu (Brian Patrick Arnold) (03/22/90)

Hello there,

I have a program written using MacApp that draws flush "link" arrows
between "nodes" in a diagram.  I want the links to be recognized as
MacDraw-like arrows (or grouped rotatable objects) when pasted into
MacDraw - presently when I paste, I get a line and a polygon separately
instead.  Is there a PicComment or PICT tweak I can add to my link
drawer so that MacDraw is more happy with it as an arrow or am I stuck?

While I've got your attention, my algorithm for drawing flush links uses
a bit too much trig and it shouldn't need to use any.  If anybody has
fast arrow drawing code, I'd appreciate getting a copy.  My arrow drawer
must be able to draw between centers of rectangles but be flush against
rectangles at each endpoint.

Please respond to me directly.  Thanks.

- Brian