diff options
author | Samuel Rødal <sroedal@trolltech.com> | 2009-08-26 08:29:11 (GMT) |
---|---|---|
committer | Samuel Rødal <sroedal@trolltech.com> | 2009-08-26 08:39:56 (GMT) |
commit | e692a4044e161c46e6b145d2f3874a0b7b929b4d (patch) | |
tree | 4876e38b250d32398a118d71504d5ef018859b68 /src/gui/inputmethod | |
parent | 4806174aeff4d7c600f6be20649153bf0e997953 (diff) | |
download | Qt-e692a4044e161c46e6b145d2f3874a0b7b929b4d.zip Qt-e692a4044e161c46e6b145d2f3874a0b7b929b4d.tar.gz Qt-e692a4044e161c46e6b145d2f3874a0b7b929b4d.tar.bz2 |
Fixed clipping bug in GL 2 paint engine (visible in arthur demos).
QVectorPath::hints() is not a strict bit field, and thus can not be
anded with RectangleHint. Instead, QVectorPath::shape() should be
directly compared with RectangleHint to check if the vector path is a
rectangle or not. In this case the first four points of a regular
painter path were treated as a rectangle with dire consequences.
Reviewed-by: Tom
Diffstat (limited to 'src/gui/inputmethod')
0 files changed, 0 insertions, 0 deletions