qt的画图机制为显示器和打印提供了统一的api接口,主要有3个大类QPainter(提供画图操作的基本接口和操作) QPaintDevice(提供画图的设备也就是你的图画在那个地方)和QPaintEngine(为QPainter和QPaintDevice提供内部使用的抽象接口定义,一般不会用到的).

QPainter-->QPaintEngine---->QPaintDevice

其中QPaintDevice有QWidget 、QImage、QPixmap、QPicture、QGLWidget、QPrinter、QGLPixleBuffer

相关文章:

  • 2021-09-07
  • 2021-10-03
  • 2021-10-30
  • 2021-10-30
  • 2021-08-02
  • 2021-08-22
  • 2022-02-23
猜你喜欢
  • 2021-04-17
  • 2021-12-16
  • 2021-06-10
  • 2021-06-26
  • 2021-12-05
  • 2021-06-30
  • 2022-02-02
相关资源
相似解决方案