19.145 draw:enhanced-path What is the definition of w h (size)

    • Hide

      Will address in ODF 1.3 as follows:

      Change the syntax for command T and U

      from

      (x y w h t0 t1) +

      to

      (x y wR hR t0 t1) +

      and change the description in command T

      from

      The ellipse is specified by the center(x, y), the size(w, h) and the start-angle t0 in degrees and end-angle t1 in degrees.

      to

      The ellipse is specified by the center(x, y), the width 2*wR, the height 2*hR, and the start-angle t0 in degrees and end-angle t1 in degrees.

      Show
      Will address in ODF 1.3 as follows: Change the syntax for command T and U from (x y w h t0 t1) + to (x y wR hR t0 t1) + and change the description in command T from The ellipse is specified by the center(x, y), the size(w, h) and the start-angle t0 in degrees and end-angle t1 in degrees. to The ellipse is specified by the center(x, y), the width 2*wR, the height 2*hR, and the start-angle t0 in degrees and end-angle t1 in degrees.

      The definition of T is the following:

      Draws a segment of an ellipse. The ellipse is
      specified by the center(x, y), the size(w, h)
      and the start-angle t0 in degrees and end-
      angle t1 in degrees. The segment is drawn
      clockwise.

      What is meant by w and h. Is it the size of the full ellipse?

      When working on the implementation one of the Calligra developers noted differences
      in what OOo/MSO are doing to what Calligra is doing. OOo and MSO use w and h as radii.
      Calligra uses w and h as diameter.

      Which of the two behaviours is correct?

      The specification should clearly state if radii or diameter should be used for this
      two values.

            Assignee:
            Unassigned
            Reporter:
            Thorsten Zachmann (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: