Details
-
Bug
-
Resolution: Unresolved
-
P4: Low
-
None
-
4.8.3
-
None
-
openSUSE 12.2 x86_64, Default Qt libraries 4.8.1 and Qt libraries 4.8.3 compiled from source code. NVIDIA proprietary drivers.
-
7b8e10ddd02693b3d6b7a7e74d2103787f6e76ac (5.0)
Description
I got 2 problems.
1) When using QGLWidget or option -graphicssystem opengl (same result for both) then lines or rectangles and probably all paint operations with zero X coordinate are not visible. With X11 or raster backend they are visible. It looks like with x11 but shifted by 1 pixel to left.
2) Co-ordination rounding for raster paint engine is different from X11 and opengl. Raster co-ordinations are rounded and in X11 and opengl are ceiled. This different output is visible from attached images or you can compile source code. The most left vertical line has zero coordination. Rectangles with size 50x50 start with zero X co-ordinate and every lower rectangle has X co-ordinate increased by 0.2.
Maybe i use painter badly but i think output should be same.
Attachments
Issue Links
- relates to
-
QTBUG-36354 When drawing a rectangle with a pen that has a large width then there is some artifacts in the drawing when antialiasing is turned off
-
- Closed
-
Gerrit Reviews
For Gerrit Dashboard: QTBUG-27500 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
36739,2 | Revert "Fixed stroke / fill inconsistencies in GL 2 paint engine." | master | qt/qtbase | Status: ABANDONED | -2 | 0 |
36757,8 | Fixed inconsistent QPainter fill rules for aliased painting. | master | qt/qtbase | Status: MERGED | +2 | 0 |