[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: [OASIS Issue Tracker] (OFFICE-3711) 19.145 draw:enhanced-path What is the definition of w h (size)
[ https://issues.oasis-open.org/browse/OFFICE-3711?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=72632#comment-72632 ] Regina Henschel commented on OFFICE-3711: ----------------------------------------- Proposal: 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. ----------------- I change the syntax from w to wR and h to hR to make the change better visible. Further problems are: 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) ? These problems can be addressed later. But the 'radius via diameter' mess should be addressed soon. > 19.145 draw:enhanced-path What is the definition of w h (size) > ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- > > Key: OFFICE-3711 > URL: https://issues.oasis-open.org/browse/OFFICE-3711 > Project: OASIS Open Document Format for Office Applications (OpenDocument) TC > Issue Type: Bug > Components: Graphics > Affects Versions: ODF 1.2 COS 1 > Reporter: Thorsten Zachmann > Priority: Major > Fix For: ODF 1.3 CSD 02 > > > 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. -- 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]