OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

office message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: [OASIS Issue Tracker] (OFFICE-4027) 19.145 draw:enhanced-path - issues with definition of behavior


     [ https://issues.oasis-open.org/browse/OFFICE-4027?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Regina Henschel updated OFFICE-4027:
------------------------------------
    Proposal: 
*Command* T

*Name* angle-ellipseto

*Parameters* (x y wR hR t0 t1) +

*Description*

Draws a line from the current point to the start point of an arc of an ellipse and then draws the arc itself. The ellipse is given by the center(x, y), the width 2*wR, and the height 2*hR.

The arc is specified by the start-angle t0 in degrees and end-angle t1 in degrees. The angles may be of any value, but are used modulo 360Â with range 0Â <= angle < 360Â to get start and end point of the arc. The angles specify radial vectors. The start and end point of the arc are the intersection of these vectors with the ellipse. In case the start point equals the end point, only in case |t1 â t0| = 360Â a full ellipse is drawn, otherwise an arc of 0Â central angle is drawn. The orientation of the angles is the same as in command G, see figure nnn.

The arc is drawn clockwise.

The end point becomes the new current point at the end of the command.

Â

*Command* U

*Name* angle-ellipse

*Parameters* (x y wR hR t0 t1) +

*Description*

The same as the âTâ command, except that no current point is required but an implicit moveto to the start point is done and thus no line to the start point is drawn.

> 19.145 draw:enhanced-path - issues with definition of behavior
> --------------------------------------------------------------
>
>                 Key: OFFICE-4027
>                 URL: https://issues.oasis-open.org/browse/OFFICE-4027
>             Project: OASIS Open Document Format for Office Applications (OpenDocument) TC
>          Issue Type: Bug
>            Reporter: Patrick Durusau
>            Priority: Major
>             Fix For: ODF 1.4
>
>
> The word "segment of ellipse" is misleading. No application draws a segment, but all draw an arc, and in case of filling, a filling in shape of a sector.
> The meaning of the angles it not clear. Examples: t0=0, t1=360 generates a full ellipse in applications. What rendering is expected for t0=-10, t1=350 (negative values), or for t0=350, t1=240 (start > end), of for t0=30, t1=480 (difference > 360) ?



--
This message was sent by Atlassian JIRA
(v7.7.2#77003)


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]