
--- MenTaLguY <mental@...3...> wrote:
Quick note: the proper marker orientation depends on the marker's "orient" attribute. See
http://www.w3.org/TR/SVG11/painting.html#OrientAttribute
Batik's behavior (b) is indeed the correct one when the attribute is unspecified (defaults to "0"). A value of "auto" yields behavior (a).
reading the spec is what confused me in the first place, the markers I have are all orient = auto yet batik renders behaviour (b). the spec talks about the positive x axis of the marker being aligned to the tangent vector for the path segment going in/out of the vertex. thing is my vector maths sucks, I'm assuming that the tangent vector is the one heading out of the point (ie if your travelling from start->end the one that wouldn't be going back on yourself) in which case I can't see how the answer is ever behaviour (a).
I'll switch it back tomorrow, too late tonight.
cheers
John
__________________________________ Do you Yahoo!? Yahoo! Tax Center - File online by April 15th http://taxes.yahoo.com/filing.html