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] Commented: (OFFICE-3758) The addition for draw:circle in 19.571.10 not clear


    [ http://tools.oasis-open.org/issues/browse/OFFICE-3758?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=31421#action_31421 ] 

Andreas Guelzow  commented on OFFICE-3758:
------------------------------------------

The bounding box of a quarter unit circle from 0 to 90 degrees measured from the horizontal should be a square of side length 1.
Of course any object is centered in its bounding box. For a part circle this does not mean that the center of the circle is in the center of the bounding box.

> The addition for draw:circle in 19.571.10 not clear
> ---------------------------------------------------
>
>                 Key: OFFICE-3758
>                 URL: http://tools.oasis-open.org/issues/browse/OFFICE-3758
>             Project: OASIS Open Document Format for Office Applications (OpenDocument) TC
>          Issue Type: Improvement
>          Components: Graphics
>    Affects Versions: ODF 1.2
>            Reporter: Thorsten Zachmann
>
> 19.571.10 states the following:
> 19.571.10 <draw:caption>, <draw:custom-shape>, <draw:circle>,
> <draw:control>, <draw:ellipse>, <draw:frame>, <draw:rect>,
> <draw:page-thumbnail>, <draw:path>, <draw:polygon>,
> <draw:polyline>, <draw:regular-polygon>
> See §5.1.2 of [SVG]. For drawing shapes that have a non rectangular shape, the length refers to
> the drawing shape's bounding box.
> If the svg:width and svg:height attributes specify different values for a <draw:circle>
> element, the radius of the circle is derived from the smaller of the two values, and the circle is
> centered within the bounding box.
> When working on a bug report in Calligra I found out that if there is a draw:circle with a type section LO/AOO uses svg:width, svg:height, svg:x and svg:y as there would be a full circle. This is done in LO/AOO also for a draw:ellipse. However in svg:x and svg:y there is no such notice. It even states "See §5.1.2 of [SVG]. For drawing shapes that have a non rectangular shape, the coordinate
> refers to the drawing shape's bounding box.". In my understanding the bounding box is the rect that encloses the visible part on the screen. So if only a quarter of a circle is shown only the rect around the quarter is the bounding box.
> I would like to clarify what is the intended meaning of the values so that the bug can be fixed correctly.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://tools.oasis-open.org/issues/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




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