https://bugs.documentfoundation.org/show_bug.cgi?id=145245

            Bug ID: 145245
           Summary: A relative position other than zero of extrusion of
                    custom shapes is wrongly rendered
           Product: LibreOffice
           Version: Inherited From OOo
          Hardware: x86-64 (AMD64)
                OS: Windows (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: LibreOffice
          Assignee: [email protected]
          Reporter: [email protected]

Created attachment 175854
  --> https://bugs.documentfoundation.org/attachment.cgi?id=175854&action=edit
Document with shapes in different extrusion positions

ODF specifies for draw:extrusion-depth, 'The draw:extrusion-depth
attribute specifies the depth of an extrusion. It takes two white space
separated values. The first value specifies the depth of the extrusion
in units, the second value specifies the fraction of the extrusion that
lies before a shape. The second value shall be in the range [0,1].'

The default for the second value is 0. Because LibreOffice has no UI to
change the value, the error becomes only visible, if you create own
custom shapes.

The attached document contains three custom shapes. The left one has as second
value 0.0, the center one has value 0.5 and the right one has value 1.0. The
shapes are rotated 90deg around the x-axis so that the extrusion becomes
visible. The extrusion depth itself is 5cm. The nominal y-coordinate of the
shapes is 6cm.

The extrusion rectangle should always have the size w×h=6cm×5cm.
The left|top coordinate of the extrusion rectangle should be 1cm|1cm for the
left shape, 9cm|3.5cm for the center shape, and 18cm|6cm for the right shape.

Currently the left shape is OK, the center shape renders no extrusion, and the
right shape has the extrusion at wrong position.

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

Reply via email to