Uploaded image for project: 'Batik'
  1. Batik
  2. BATIK-793

<animateMotion> with relative path offsets not correct

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Resolution: Fixed
    • 1.7
    • None
    • Bridge
    • None
    • Operating System: other
      Platform: Other

    Description

      The position of the arrow in this document is not animated correctly:

      <svg xmlns='http://www.w3.org/2000/svg' width="1000px" height="600px">
      <path d="M200 200 l200 0 0 200 -200 0 z" fill="none"
      stroke="black" stroke-width="4"/>
      <g fill="none" stroke="red" stroke-width="7"
      transform="translate(200, 200)">
      <animateMotion path="M0 0 l200 0 0 200 -200 0 z" begin="2s" dur="8s"
      repeatCount="indefinite" rotate="auto" />
      <line x1="0" y1="0" x2="50" y2="0"/>
      <line x1="50" y1="0" x2="35" y2="-15"/>
      <line x1="50" y1="0" x2="35" y2="15"/>
      </g>
      </svg>

      Attachments

        Activity

          People

            batik-dev@xmlgraphics.apache.org Batik Developer's Mailing list
            cam Cameron McCormack
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: