Details
-
Bug
-
Resolution: Done
-
P2: Important
-
4.7.1, 4.8.3, 4.8.4, 5.0.1
-
Windows 7, MS Visual Studio 2008
-
85b4f0d2d3ffd326548ca8f0e15ac27f5fd8d77d (Qt 5), 032baf26784c2ee45bec3f9bfe81f6e7158491d3 (Qt 4.8.6, 13.1.2014)
Description
Exception 0xC000008E: Floating-point division by zero
in file: \src\gui\painting\qrasterizer.cpp
function: QRasterizer::rasterizeLine
lines:
const qreal topLeftSlope = topLeftEdge.x() / topLeftEdge.y();
const qreal bottomLeftSlope = bottomLeftEdge.x() / bottomLeftEdge.y();
const qreal topRightSlope = topRightEdge.x() / topRightEdge.y();
const qreal bottomRightSlope = bottomRightEdge.x() / bottomRightEdge.y();
Exception is only, if flag QPainter::Antialiasing is set for QPainter