aboutsummaryrefslogtreecommitdiffstats
path: root/softwarecontext/renderingvisitor.cpp
diff options
context:
space:
mode:
authorAndy Nichols <andy.nichols@digia.com>2014-08-21 18:53:09 +0200
committerLars Knoll <lars.knoll@digia.com>2014-09-01 13:54:19 +0300
commit47ad428befff796faf2f3bc7bff94f06fad9c2e1 (patch)
tree6e15dddb234bd6d6c320d3c2b4ae8969b7bccbec /softwarecontext/renderingvisitor.cpp
parent13f28b3c7abda7faac661fdc2500562ab81aa86d (diff)
Correct painting of RectangleNode
The previous behavior was very wrong compared to how QtQuick normally paints Rectangle elements. The border.width property does not effect the geometry of the Rectangle, where as QPainter::drawRect draws a border 0.5 the border.width around the edge of the rectangle. So now there is special logic to draw the each case correctly using fillRect as much as possible. Change-Id: I4ea2be2226ff3b1a11dc5000522df503c6f43227 Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'softwarecontext/renderingvisitor.cpp')
0 files changed, 0 insertions, 0 deletions