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

Rotating the painter with a pen width set to 1 products wrong rendering output (double line) even with graphicssystem raster

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 4.6.0, 4.6.2
    • GUI: Painting
    • None
    • MS Windows XP SP2, SP3 (VS 2008). Linux Ubuntu (gcc).

    Description

      While drawing rotated by 45 deg rectangles in QGraphicsScene (test program main.cpp) we obtain shapes having different widths of their sides (snap1.jpg, snap2.jpg). Moreover, on Windows XP side width can depend on the relative position of one rectangle upon the other (snap2.jpg). Looks like line width of one rectangle depends upon the boundigng rectangle of the other. All this is true only for pen size 1. All other sizes (inluding 0) do not produce such an effect.

      Attachments

        1. main_qwidget.cpp
          0.7 kB
          Alexis Menard (closed Nokia identity)
        2. main.cpp
          0.9 kB
          Letov Alexey
        3. snap1.jpg
          22 kB
          Letov Alexey
        4. snap2.jpg
          24 kB
          Letov Alexey
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            Unassigned Unassigned
            alexex Letov Alexey
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes