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

QPainter::drawPixmap : Grid is out of phase when zooming

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • None
    • 4.6.2
    • GUI: Painting
    • None

    Description

      Draw a Pixmap using drawPixmap.
      Then Draw a grid for each pixel when you zoom into the image.
      When you zoom in the image the grid gets out of phase.

      Attached is an example application that shows this issue.

      For zooming press CTRL and mouse wheel event.
      Zoom the image to 18x then scroll to the right and you will see that the grid no longer match the pixels.

      Attachments

        1. zoomer.zip
          239 kB
          Martin Petersson
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qt.team.graphics.and.multimedia Qt Graphics Team
            xcm Martin Petersson (Inactive)
            Votes:
            3 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes