# Add command arcangleto (G) to draw:enhanced-path

XMLWordPrintable

#### Details

• Type: New Feature
• Status: Applied
• Priority: Major
• Resolution: Fixed
• Affects Version/s: None
• Fix Version/s:
• Component/s:
• 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.
• Resolution:
Hide

See Resolution of OFFICE-4027.

Show
See Resolution of OFFICE-4027 .

#### 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.

#### People

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

#### Dates

• Created:
Updated:
Resolved: