https://issues.apache.org/ooo/show_bug.cgi?id=123384

            Bug ID: 123384
        Issue Type: DEFECT
           Summary: [SVG] marker direction must not depend on length of
                    path segment
           Product: Draw
           Version: 4.1.0-dev
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: open-import
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]

Created attachment 81674
  --> https://issues.apache.org/ooo/attachment.cgi?id=81674&action=edit
Draw document with linked SVG graphics.

The marker direction must only depend on the angle of the path segment, not on
the length. See "11.6.2 The ‘marker’ element" in
http://www.w3.org/TR/SVG/painting.html
"A value of 'auto' indicates that the marker is oriented such that its positive
x-axis is pointing as follows:
    If there is a path segment coming into the vertex and another path segment
going out of the vertex, the marker's positive x-axis should point toward the
angle bisector for the angle at the given vertex, where that angle has one side
consisting of tangent vector for the path segment going into the vertex and the
other side the tangent vector for the path segment going out of the vertex."

Therefore in all cases in the attached example, the direction of the marker-mid
has to be 315°, which is middle of 0° from h command and 270° from v command.
The graphics are linked, so that you can easily see, how they are rendered in
browsers.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.

Reply via email to