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.
精彩评论