4.2.3 QPainter的save和restore 4.2.4 QPainter的平移、放缩、旋转效果讲解 4.2.3 QPainter的save和restore void QPainter::save() void QPainter::restore() QPainter::save()用于保存当前绘图状态并将其压入堆栈中。在绘图过程中,我们可能需要对绘图状态进行修改&