Clip to bounding rect
authorAlan Alpert <alan.alpert@nokia.com>
Thu, 28 Jul 2011 05:36:44 +0000 (15:36 +1000)
committerQt by Nokia <qt-info@nokia.com>
Thu, 28 Jul 2011 09:27:26 +0000 (11:27 +0200)
commit31ebb4bfb0df83805c5d86b6773f11ba1145c7cd
treeb524b5356eaa555ebd99524296df5d06425a0666
parente57189d3bbac058a3ddea567a6e487be65cdde5a
Clip to bounding rect

Bounding rect varies from width/height in some cases, like Rectangle.

This restores rectangle clipping behaviour to be the same as QtQuick 1.

Task-number: QTBUG-20547
Change-Id: I2b6edc662a0026219d73b52878d2f4c046fef7f0
Reviewed-on: http://codereview.qt.nokia.com/2317
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Martin Jones <martin.jones@nokia.com>
Reviewed-by: Gunnar Sletta <gunnar.sletta@nokia.com>
src/declarative/items/qsgcanvas.cpp
src/declarative/items/qsgitem.cpp
src/declarative/items/qsgitem.h
src/declarative/items/qsgrectangle_p.h