XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: ODF 1.4
    • Component/s: Graphics
    • Labels:
      None
    • Proposal:
      Hide

      Command:  G
      Name:  arcangleto
      Parameters: (wR hR st sw) +
      Description:
      Draws an arc of an ellipse. The ellipse is given by the width 2*wR, and the height 2*hR. The arc is specified by the start angle st in degrees and the swing angle sw in degrees. The ellipse is positioned so that the current point is the start point of the arc. The arc is drawn so that sw is the central angle of the arc. If sw is positive, the arc is drawn clockwise; if sw is negative, the arc is drawn counter-clockwise. The endpoint of the arc becomes the new current point.
      In case the path is filled, the filling is drawn as an ellipse segment.
      The swing angle may be greater than 360° and may be smaller than -360°. In such cases the fill will overlap.

      Show
      Command:  G Name:  arcangleto Parameters: (wR hR st sw) + Description: Draws an arc of an ellipse. The ellipse is given by the width 2*wR, and the height 2*hR. The arc is specified by the start angle st in degrees and the swing angle sw in degrees. The ellipse is positioned so that the current point is the start point of the arc. The arc is drawn so that sw is the central angle of the arc. If sw is positive, the arc is drawn clockwise; if sw is negative, the arc is drawn counter-clockwise. The endpoint of the arc becomes the new current point. In case the path is filled, the filling is drawn as an ellipse segment. The swing angle may be greater than 360° and may be smaller than -360°. In such cases the fill will overlap.

      Description

      This command is needed for interoperability with the OOXML standard and its attribute "arcTo", see ISO/IEC 29500-1:2016 section 20.1.9.4. With the current commands A, B, U, T, V and W only one direction of the arc is possible, either clockwise or counter-clockwise. The new command G allows to specify the arc direction depending on a parameter. Such parameter can be calculated from a formula or adjustment value, so the direction is not predefined.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              regina.henschel Regina Henschel
            • Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: