On Fri, 23 Feb 2001, Cyrille Chepelov wrote:
> Lars, your code rocks. I'm really stupid I haven't thought of that
> before.
Actually, the idea was my officemates, after we were looking at some funny
behaviour on the Lifeline object.
> I'll have to fix at least arcs and bezier*; some objects (like lines)
> have overbig start_trans and end_trans when arrows are used (twice too
> big, precisely).
Even a simple line (anything based on Connection, in fact) doesn't shrink
its BB on the down and right sides. Oh, there it was. See if this change
breaks the fine new extra_spacing code, please.
> Finally, there's the case of polylines and zigzags (same for beziers, I
> think), where the arrow head finds itself with a default orientation (0°)
> when the last segment has a zero length (I'd vote for making the arrow
> disappear in that case, rather than extend the bounding box).
Remember that as long as we can't query objects for orthogonality, the
current arrow behaviour does allow one to get around the default
orientations.
I'm all for rewriting the arrow code, but that's really a thing for 1.1.
-Lars
--
Lars Clausen (http://shasta.cs.uiuc.edu/~lrclause) | Hårdgrim of Numenor
"I do not agree with a word that you say, but I | Retainer of Sir Kegg
will defend to the death your right to say it." | of Westfield
--Evelyn Beatrice Hall paraphrasing Voltaire | Chaos Berserker of Khorne