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

QLinearGradient inconsistent behavior with QPainter::drawLine

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 4.8.1, 5.0.1, 5.9.1
    • GUI: Painting
    • None
    • Qt 4.8.1, MinGw 4.6.2, Win 7 32 bit
      Qt 5.0.1, MinGw 4.7.0, Win 7 32 bit

    Description

      QLinearGradient does not affect perfect horizontal and perfect vertical lines, that are drawn using QPainter::drawLine().

      I have attached the code to demostrate the behavior, and also the output screen-shot of the program.

      Attachments

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

        Activity

          People

            rodal Samuel Rødal
            santosh reddy Shiva Santosh Reddy
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes