Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
|
#include <QGuiApplication>
#include <QBuffer>
#include <QImageIOHandler>
#include <QImage>
#include "qiiofhelpers_p.h"
Go to the source code of this file.
Namespaces | |
namespace | NS_IIOF_HELPERS |
Functions | |
QT_BEGIN_NAMESPACE CGImageRef | qt_mac_toCGImage (const QImage &qImage) |
QImage | qt_mac_toQImage (CGImageRef image) |
static size_t | NS_IIOF_HELPERS::cbGetBytes (void *info, void *buffer, size_t count) |
static off_t | NS_IIOF_HELPERS::cbSkipForward (void *info, off_t count) |
static void | NS_IIOF_HELPERS::cbRewind (void *) |
static size_t | NS_IIOF_HELPERS::cbPutBytes (void *info, const void *buffer, size_t count) |
static QImageIOHandler::Transformations | NS_IIOF_HELPERS::exif2Qt (int exifOrientation) |
static int | NS_IIOF_HELPERS::qt2Exif (QImageIOHandler::Transformations transformation) |
QT_BEGIN_NAMESPACE CGImageRef qt_mac_toCGImage | ( | const QImage & | qImage | ) |
Definition at line 47 of file qcoregraphics.mm.
References QImage::Format_ARGB32_Premultiplied.
Referenced by QCoreGraphicsPaintEngine::drawImage(), QCoreGraphicsPaintEngine::drawPixmap(), qt_mac_draw_pattern(), and NS_IIOF_HELPERS::QIIOFHelper::writeImage().
QImage qt_mac_toQImage | ( | CGImageRef | image | ) |
Definition at line 79 of file qcoregraphics.mm.
References QImage::Format_ARGB32_Premultiplied, qt_mac_drawCGImage(), rect, ret, and Qt::transparent.
Referenced by QCocoaScreen::grabWindow(), QIOSScreen::grabWindow(), and NS_IIOF_HELPERS::QIIOFHelper::readImage().