qt5base-lts/src/widgets
Samuel Rødal 7b8e10ddd0 Fixed inconsistent QPainter fill rules for aliased painting.
Qt 5 is the time to get rid of all the old inconsistencies in the raster
paint engine caused by trying to preserve the old X11 based
coordinate system where (0, 0) is in the center of the top-left pixel
instead of the upper left corner of said pixel. However, this was only
adhered for line drawing and path / rect filling, and not for image or
pixmap drawing and not at all when doing antialiased painting. By
defining the antialiased coordinate system as being the right one and
letting the aliased fill rules follow from that we finally end up with
some consistent behavior that doesn't lead to surprises and workarounds
in application code.

It is still possible for applications to get the old behavior by
setting the QPainter::Qt4CompatiblePainting render hint. This should
make porting easier for the few cases where an application relies on the
aliased fill rules we used to have in Qt 4.

Task-number: QTBUG-27500
Change-Id: If86b95e77d838ec83033d64af86632b9a73c74a9
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
2012-10-19 02:43:05 +02:00
..
accessible Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
dialogs QFileInfoGatherer: remove m_resolveSymlinks for non-Q_OS_WIN 2012-10-17 04:19:06 +02:00
doc Doc: Removed references to stale links. 2012-10-13 05:51:19 +02:00
effects Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
graphicsview QGraphicsObject: handle QEvent::StyleAnimationUpdate 2012-10-17 12:55:49 +02:00
itemviews Make sure uints remain uints when editing in itemviews. 2012-10-19 00:44:54 +02:00
kernel Bring back Mac dependent code in QBoxLayout, QGridLayout 2012-10-18 15:19:48 +02:00
statemachine Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
styles Fixed inconsistent QPainter fill rules for aliased painting. 2012-10-19 02:43:05 +02:00
util Fix resetting of the QCompletionModel. 2012-09-27 18:35:55 +02:00
widgets Bring back MacSizeChange event 2012-10-17 04:19:09 +02:00
Qt5WidgetsConfigExtras.cmake.in Create IMPORTED CMake targets for executables. 2012-07-25 13:59:15 +02:00
Qt5WidgetsMacros.cmake Create IMPORTED CMake targets for executables. 2012-07-25 13:59:15 +02:00
QtGui.dynlist library split 2011-05-07 00:02:01 +02:00
widgets.pro Modularize documenation build 2012-10-10 23:27:03 +02:00