incubator-ooo-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 120616] New: svg: wrong rendering for gradientUnits="objectBoundingBox"
Date Sun, 19 Aug 2012 13:19:27 GMT
https://issues.apache.org/ooo/show_bug.cgi?id=120616

          Priority: P3
            Bug ID: 120616
          Assignee: ooo-issues@incubator.apache.org
           Summary: svg: wrong rendering for
                    gradientUnits="objectBoundingBox"
          Severity: normal
        Issue Type: DEFECT
    Classification: Application
                OS: Windows XP
          Reporter: rb.henschel@t-online.de
          Hardware: PC
            Status: UNCONFIRMED
           Version: AOO 3.4.0
         Component: code
           Product: drawing

Created attachment 79000
  --> https://issues.apache.org/ooo/attachment.cgi?id=79000&action=edit
example with gradient transform and obejectBoundingBox

The gradient is defined from (0|0) to (1|0). So the points (1|y) mark the line
g, where the gradient ends and filling will be continued with last stop color.

The gradient gets a gradientTransform="rotate(45)". So the point (1|0) will be
transformed to (0.707|0.707) and point (1|1) will be transformed to (0|1.414).

The transformed line g will intersect the right border of the bounding box in
(1|0.414) and the top border line of the bounding box in (1.414|0), which is
right side out of the bounding box.

Insert the attached svg image to see, that this is not drawn in this way.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Mime
View raw message