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>.
Loading...
Searching...
No Matches
qiiofhelpers.cpp File Reference

(34282d8ceffae49df4025a4517e152bcfa67e0e4)

#include <QGuiApplication>
#include <QBuffer>
#include <QImageIOHandler>
#include <QImage>
#include "qiiofhelpers_p.h"
+ Include dependency graph for qiiofhelpers.cpp:

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)
 

Function Documentation

◆ qt_mac_toCGImage()

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().

+ Here is the caller graph for this function:

◆ qt_mac_toQImage()

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: