https://issues.apache.org/ooo/show_bug.cgi?id=122919

            Bug ID: 122919
        Issue Type: DEFECT
           Summary: [SVG] svgcirclenode uses wrong numbertype for radius
           Product: Draw
           Version: AOO 4.0.0
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: code
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]

Created attachment 81222
  --> https://issues.apache.org/ooo/attachment.cgi?id=81222&action=edit
file to reproduce the wrong radius

The parameter r is neither a x-coordinate nor a width nor a y-coordinate nor a
height. Therefore for percentage values the case "any other length" in SVG1.1
section 7.10 has to be used. That is the sqrt(w^2+h^2)/sqrt(2), where w and h
is the size of its viewport. In case of w=6cm and h=8cm this should result in a
r=7.07cm for 100%. To get this, the call of solve has to use the numbertype
length and not xcoordinate.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.

Reply via email to