projects
/
profile
/
ivi
/
qtbase.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
QSpanData: use isAffine() instead of rolling your own test
[profile/ivi/qtbase.git]
/
src
/
gui
/
painting
/
qpaintengine_raster.cpp
diff --git
a/src/gui/painting/qpaintengine_raster.cpp
b/src/gui/painting/qpaintengine_raster.cpp
index
46648fe
..
0e9129f
100644
(file)
--- a/
src/gui/painting/qpaintengine_raster.cpp
+++ b/
src/gui/painting/qpaintengine_raster.cpp
@@
-4588,7
+4588,7
@@
void QSpanData::setupMatrix(const QTransform &matrix, int bilin)
txop = inv.type();
bilinear = bilin;
- const bool affine =
!m13 && !m23
;
+ const bool affine =
inv.isAffine()
;
fast_matrix = affine
&& m11 * m11 + m21 * m21 < 1e4
&& m12 * m12 + m22 * m22 < 1e4