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

          Priority: P3
            Bug ID: 120616
          Assignee: [email protected]
           Summary: svg: wrong rendering for
                    gradientUnits="objectBoundingBox"
          Severity: normal
        Issue Type: DEFECT
    Classification: Application
                OS: Windows XP
          Reporter: [email protected]
          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.

Reply via email to