qt图像类

来源:互联网 发布:Mac官网源码 编辑:程序博客网 时间:2024/06/07 13:37
Qt provides four classes for handling image data: QImageQPixmapQBitmap and QPictureQImage is designed and optimized for I/O, and for direct pixel access and manipulation, while QPixmap is designed and optimized for showing images on screen. QBitmap is only a convenience class that inherits QPixmap, ensuring a depth of 1. The isQBitmap() function returns true if a QPixmap object is really a bitmap, otherwise returns false. Finally, the QPicture class is a paint device that records and replays QPaintercommands.
0 0