开发者

QPainter Cache Possible?

I've Pie Shaped 开发者_如何学Cwidgets that needs extensive paintings. So I want to cache the QPainter Once it have been painted in paintEvent. and reuse it latter. Is there any direct or hacky way of doing this ?


Use a QPixmap as a cache, QPainter can use it to paint onto directly as well.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜