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

QPainterPath produces a band when drawing a line between two points for a certain range of distances

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 4.6.1
    • 4.4.2, 4.5.3
    • GUI: Painting
    • None
    • I am using Qt v. 4.5.3 and qt-vsintegration v. 1.4.3 on Visual Studio 2008 on Windows XP Pro Service Pack3 32-bit.
    • d4e81805ff47a266890f9638cf29647889d5c730

    Description

      Intro:
      I am trying to draw a graph that shows points connected through a line. I am using QPainterPath to connect the points which are of type QPointF.

      Problem:
      I am seeing a band when drawing a line between two points. This only happens when distance between the two lines is in a certain range.
      This band is an irrationally thick line that looks like a rectangle. This line shows somewhere in between the two points and not all the way from end-to-end.

      Expected:
      A normal smooth line between two points regardless of the distance between them.

      Reproduce:
      I have attached a small application that you can run and see the band. A README file is also attached to describe more about the application and the problem.

      Attachments

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

        Activity

          People

            sletta Gunnar Sletta
            matallah Mario Atallah
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes