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

Qt4: QCosmeticStroker::drawPath() fails to draw correct path when part of the polygon is out of device rect

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Done
    • Affects Version/s: 4.8.5
    • Fix Version/s: 4.8.6
    • Component/s: GUI: Painting
    • Labels:
      None

      Description

      When the QCosmeticStroker::drawPath() is drawing a simple polygon it omits a point if any of its lines is completely out of device rect. In the attached example a rectangle is drawn as a triangle omitting the right bottom point of the rectangle.

        Attachments

        1. rectDraw.zip
          0.7 kB
          Qt Support
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            sletta Gunnar Sletta
            Reporter:
            qtcomsupport Qt Support
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes