Note that the item's geometry is provided in item coordinates, and its position is initialized to (0, 0). For example, if a QRect(50, 50, 100, 100) is added, its top-left corner will be at (50, 50) relative to the origin in the items coordinate system.
上面rect是以谁为坐标原点的？for example前后没看懂，。。。
]]>https://qtdream.com/topic/228/qgraphicsrectitem-qgraphicsscene-addrect-const-qrectf-rectRSS for NodeSun, 07 Jun 2020 05:48:43 GMTWed, 24 Feb 2016 13:02:27 GMT60Note that the item's geometry is provided in item coordinates, and its position is initialized to (0, 0). For example, if a QRect(50, 50, 100, 100) is added, its top-left corner will be at (50, 50) relative to the origin in the items coordinate system.
上面rect是以谁为坐标原点的？for example前后没看懂，。。。
]]>https://qtdream.com/post/1171https://qtdream.com/post/1171Wed, 24 Feb 2016 13:02:27 GMT以场景的原点为原点
]]>https://qtdream.com/post/1177https://qtdream.com/post/1177Thu, 25 Feb 2016 05:51:50 GMT