QGraphicsItem

2019-03-27  本文已影响0人  红恐龙

QRectF boundingRect();

在返回的矩形中绘制item才会被刷新。

item绘制在scene中,然后将scene中的内容在映射到view中。

上一篇 下一篇

猜你喜欢

热点阅读