From b6acec1e5d55d03ad3a0a70d2cf371d3f8fde629 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20R=C3=B8dal?= Date: Thu, 20 Sep 2012 16:01:03 +0200 Subject: Fixed outline / fill inconsistencies in raster paint engine. We did coordinate rounding of the fill in the raster paint engine to match how drawLine_midpoint_i rendered lines. With the new cosmetic stroker in 4.8 this rounding is not needed anymore. Task-number: QTBUG-26013 Change-Id: Ibe86fa809276c8e7988d393a67e772d57b9a4799 Reviewed-by: Lars Knoll --- src/gui/painting/qoutlinemapper.cpp | 7 ------- 1 file changed, 7 deletions(-) (limited to 'src/gui/painting/qoutlinemapper.cpp') diff --git a/src/gui/painting/qoutlinemapper.cpp b/src/gui/painting/qoutlinemapper.cpp index 08ed08abb1..12a1e327e2 100644 --- a/src/gui/painting/qoutlinemapper.cpp +++ b/src/gui/painting/qoutlinemapper.cpp @@ -226,13 +226,6 @@ void QOutlineMapper::endOutline() return; } - if (m_round_coords) { - // round coordinates to match outlines drawn with drawLine_midpoint_i - for (int i = 0; i < m_elements.size(); ++i) - elements[i] = QPointF(qFloor(elements[i].x() + aliasedCoordinateDelta), - qFloor(elements[i].y() + aliasedCoordinateDelta)); - } - controlPointRect = boundingRect(elements, m_elements.size()); #ifdef QT_DEBUG_CONVERT -- cgit v1.2.3