Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
NS_IIOF_HELPERS::QIIOFHelper Class Reference

#include <qiiofhelpers_p.h>

Collaboration diagram for NS_IIOF_HELPERS::QIIOFHelper:

Public Member Functions

 QIIOFHelper (QImageIOHandler *q)
bool readImage (QImage *out)
bool writeImage (const QImage &in, const QString &uti)
QVariant imageProperty (QImageIOHandler::ImageOption option)
void setOption (QImageIOHandler::ImageOption option, const QVariant &value)

Protected Member Functions

bool initRead ()
bool getIntProperty (CFStringRef property, int *value)

Protected Attributes

QImageIOHandlerq_ptr = nullptr
QList< QVariantwriteOptions
QCFType< CGDataProviderRef > cgDataProvider = nullptr
QCFType< CGImageSourceRef > cgImageSource = nullptr
QCFType< CFDictionaryRef > cfImageDict = nullptr

Detailed Description

Definition at line 39 of file qiiofhelpers_p.h.

Constructor & Destructor Documentation

◆ QIIOFHelper()

NS_IIOF_HELPERS::QIIOFHelper::QIIOFHelper ( QImageIOHandler * q)

Definition at line 109 of file qiiofhelpers.mm.

References QIIOFHelper().

Referenced by QIIOFHelper().

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

Member Function Documentation

◆ getIntProperty()

bool NS_IIOF_HELPERS::QIIOFHelper::getIntProperty ( CFStringRef property,
int * value )
protected

Definition at line 174 of file qiiofhelpers.mm.

◆ imageProperty()

QVariant NS_IIOF_HELPERS::QIIOFHelper::imageProperty ( QImageIOHandler::ImageOption option)

Definition at line 238 of file qiiofhelpers.mm.

References initRead().

Here is the call graph for this function:

◆ initRead()

bool NS_IIOF_HELPERS::QIIOFHelper::initRead ( )
protected

Definition at line 114 of file qiiofhelpers.mm.

References NS_IIOF_HELPERS::cbRelease(), and NS_IIOF_HELPERS::cbRewind().

Referenced by imageProperty(), and readImage().

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

◆ readImage()

bool NS_IIOF_HELPERS::QIIOFHelper::readImage ( QImage * out)

Definition at line 147 of file qiiofhelpers.mm.

References initRead().

Here is the call graph for this function:

◆ setOption()

void NS_IIOF_HELPERS::QIIOFHelper::setOption ( QImageIOHandler::ImageOption option,
const QVariant & value )

Definition at line 265 of file qiiofhelpers.mm.

◆ writeImage()

bool NS_IIOF_HELPERS::QIIOFHelper::writeImage ( const QImage & in,
const QString & uti )

Definition at line 272 of file qiiofhelpers.mm.

Member Data Documentation

◆ cfImageDict

QCFType<CFDictionaryRef> NS_IIOF_HELPERS::QIIOFHelper::cfImageDict = nullptr
protected

Definition at line 57 of file qiiofhelpers_p.h.

◆ cgDataProvider

QCFType<CGDataProviderRef> NS_IIOF_HELPERS::QIIOFHelper::cgDataProvider = nullptr
protected

Definition at line 55 of file qiiofhelpers_p.h.

◆ cgImageSource

QCFType<CGImageSourceRef> NS_IIOF_HELPERS::QIIOFHelper::cgImageSource = nullptr
protected

Definition at line 56 of file qiiofhelpers_p.h.

◆ q_ptr

QImageIOHandler* NS_IIOF_HELPERS::QIIOFHelper::q_ptr = nullptr
protected

Definition at line 53 of file qiiofhelpers_p.h.

◆ writeOptions

QList<QVariant> NS_IIOF_HELPERS::QIIOFHelper::writeOptions
protected

Definition at line 54 of file qiiofhelpers_p.h.


The documentation for this class was generated from the following files: