diff options
author | Kim Motoyoshi Kalland <kim.kalland@nokia.com> | 2010-06-16 10:03:02 (GMT) |
---|---|---|
committer | Kim Motoyoshi Kalland <kim.kalland@nokia.com> | 2010-06-16 10:20:58 (GMT) |
commit | 64e60dab167afc68cfb94a8eb0b7469eea9a4291 (patch) | |
tree | 01b2fba528401eefd335bfe8ff0f8c8c454fabca /src/gui/painting | |
parent | 28e23016eca537beae2da833603f3063b3bc5bcd (diff) | |
download | Qt-64e60dab167afc68cfb94a8eb0b7469eea9a4291.zip Qt-64e60dab167afc68cfb94a8eb0b7469eea9a4291.tar.gz Qt-64e60dab167afc68cfb94a8eb0b7469eea9a4291.tar.bz2 |
Fixed full-rule on clipped painter paths.
The fill-rule of the original path was not copied into the
clipped path.
Reviewed-by: Gunnar
Diffstat (limited to 'src/gui/painting')
-rw-r--r-- | src/gui/painting/qoutlinemapper.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/painting/qoutlinemapper.cpp b/src/gui/painting/qoutlinemapper.cpp index 1b01960..962f34c 100644 --- a/src/gui/painting/qoutlinemapper.cpp +++ b/src/gui/painting/qoutlinemapper.cpp @@ -354,6 +354,10 @@ void QOutlineMapper::clipElements(const QPointF *elements, // this part of code hardly every used, it shouldn't matter. QPainterPath path; + + if (!(m_outline.flags & QT_FT_OUTLINE_EVEN_ODD_FILL)) + path.setFillRule(Qt::WindingFill); + if (types) { for (int i=0; i<element_count; ++i) { switch (types[i]) { |