PDA

View Full Version : Is there any easy way to copy QPainter state?



feverzsj
19th May 2012, 05:51
I want to implement push_group/pop_group of cairo with QPainter, but QPainter resets all its state while begin() with a new painterDevice, so I have to save/revert all states manually.

ChrisW67
19th May 2012, 07:49
Can't say I have used it, but QPicture might work for you.