return QImage(); \
}
-
-static QImage rotated90(const QImage &src);
-static QImage rotated180(const QImage &src);
-static QImage rotated270(const QImage &src);
-
QAtomicInt qimage_serial_number = QAtomicInt(1);
QImageData::QImageData()
*/
-
static QImage rotated90(const QImage &image) {
QImage out(image.height(), image.width(), image.format());
QIMAGE_SANITYCHECK_MEMORY(out);
return image.mirrored(true, true);
}
-
static QImage rotated270(const QImage &image) {
QImage out(image.height(), image.width(), image.format());
QIMAGE_SANITYCHECK_MEMORY(out);