-
Bug
-
Resolution: Duplicate
-
Not Evaluated
-
None
-
5.1.0
-
None
-
win 7 64bit, Nvidia Quadro 600
For a QQuickPaintedItem if setContentsScale( 2.0 ) ( or setContentsSize() ) is set then the contents rendered in paint appears scaled in a transformed location. According to the documentation I would expect the render texture to be twice the size and painted at half the scale.
e.g.
setContentsScale( 2 )
void QQuickGraphicsView::paint( QPainter * painter )
{
painter->drawRect( 10, 10, 100, 200 );
}
- duplicates
-
QTBUG-32510 QQuickPaintedItem does not respect contentSize()/setContentsSize() correctly
-
- Closed
-