Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-128488

QPainterPath some time gives incorrect value

    XMLWordPrintable

Details

    • Windows
    • 0cba61156 (dev), 93e8e2dc4 (6.8)

    Description

      in Attached example pathToRect returns different rects. Only one rect is valid even though both path are equal and are only created in a different way.

      When you run you will get this output:

      First path is rect true | bouding rect QRectF(47,0 27x88) | RESULT QRectF(74,88 -27x-88)
      Second path is rect true | bouding rect QRectF(47,0 27x88) | RESULT QRectF(47,0 27x88)

      This only works if shape points are given in a defined order.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            vgt Eirik Aavitsland
            irfan.omair@digia.com Irfan Omair
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes