Details
-
Bug
-
Resolution: Done
-
Not Evaluated
-
5.1.0
-
None
-
win 7 64bit, Nvidia Quadro 600
-
0c7349fa9621f6460b754c2b3595d1c0f1d02ec4
Description
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 ); }Attachments
Issue Links
- is duplicated by
-
QTBUG-46238 CLONE - QQuickPaintedItem does not respect contentSize()/setContentsSize() correctly
- Closed
- relates to
-
QTBUG-32511 QQuickPainted item rendering does not respect object hierarchy scale
- Reported