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
QGIFFormat Class Reference
Collaboration diagram for QGIFFormat:

Public Member Functions

 QGIFFormat ()
 Constructs a QGIFFormat.
 ~QGIFFormat ()
 Destroys a QGIFFormat.
int decode (QImage *image, const uchar *buffer, int length, int *nextFrameDelay, int *loopCount)
 This function decodes some data into image changes.
 QGIFFormat ()
 ~QGIFFormat ()
int decode (QImage *image, const uchar *buffer, int length, int *nextFrameDelay, int *loopCount)

Static Public Member Functions

static void scan (QIODevice *device, QList< QSize > *imageSizes, int *loopCount)
 Scans through the data stream defined by device and returns the image sizes found in the stream in the imageSizes list.
static void scan (QIODevice *device, QList< QSize > *imageSizes, int *loopCount)

Public Attributes

bool newFrame
bool partialNewFrame

Detailed Description

Definition at line 28 of file qgifhandler.cpp.

Constructor & Destructor Documentation

◆ QGIFFormat() [1/2]

QGIFFormat::QGIFFormat ( )

Constructs a QGIFFormat.

Definition at line 114 of file qgifhandler.cpp.

References newFrame, and partialNewFrame.

◆ ~QGIFFormat() [1/2]

QGIFFormat::~QGIFFormat ( )

Destroys a QGIFFormat.

Definition at line 137 of file qgifhandler.cpp.

◆ QGIFFormat() [2/2]

QGIFFormat::QGIFFormat ( )

◆ ~QGIFFormat() [2/2]

QGIFFormat::~QGIFFormat ( )

Member Function Documentation

◆ decode() [1/2]

int QGIFFormat::decode ( QImage * image,
const uchar * buffer,
int length,
int * nextFrameDelay,
int * loopCount )

This function decodes some data into image changes.

Returns the number of bytes consumed.

Definition at line 200 of file qgifhandler.cpp.

◆ decode() [2/2]

int QGIFFormat::decode ( QImage * image,
const uchar * buffer,
int length,
int * nextFrameDelay,
int * loopCount )

◆ scan() [1/2]

void QGIFFormat::scan ( QIODevice * device,
QList< QSize > * imageSizes,
int * loopCount )
static

Scans through the data stream defined by device and returns the image sizes found in the stream in the imageSizes list.

Definition at line 658 of file qgifhandler.cpp.

◆ scan() [2/2]

void QGIFFormat::scan ( QIODevice * device,
QList< QSize > * imageSizes,
int * loopCount )
static

Member Data Documentation

◆ newFrame

bool QGIFFormat::newFrame

Definition at line 37 of file qgifhandler.cpp.

Referenced by QGIFFormat().

◆ partialNewFrame

bool QGIFFormat::partialNewFrame

Definition at line 38 of file qgifhandler.cpp.

Referenced by QGIFFormat().


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