Uploaded image for project: 'OASIS Open Document Format for Office Applications (OpenDocument) TC'
  1. OASIS Open Document Format for Office Applications (OpenDocument) TC
  2. OFFICE-3711

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

    XMLWordPrintable

    Details

    • Resolution:
      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.

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              thorsten Thorsten Zachmann (Inactive)
            • Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: