![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
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, QSize *imageSize, int *imageCount, int *loopCount) |
| Scans through the data stream defined by device and returns the image size in imageSize and the number of frames found in the stream in imageCount. | |
| static void | scan (QIODevice *device, QSize *imageSize, int *imageCount, int *loopCount) |
Public Attributes | |
| bool | newFrame |
| bool | partialNewFrame |
Definition at line 30 of file qgifhandler.cpp.
| QGIFFormat::QGIFFormat | ( | ) |
Constructs a QGIFFormat.
Definition at line 116 of file qgifhandler.cpp.
References newFrame, and partialNewFrame.
| QGIFFormat::~QGIFFormat | ( | ) |
Destroys a QGIFFormat.
Definition at line 139 of file qgifhandler.cpp.
| QGIFFormat::QGIFFormat | ( | ) |
| QGIFFormat::~QGIFFormat | ( | ) |
| 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 202 of file qgifhandler.cpp.
| int QGIFFormat::decode | ( | QImage * | image, |
| const uchar * | buffer, | ||
| int | length, | ||
| int * | nextFrameDelay, | ||
| int * | loopCount ) |
|
static |
Scans through the data stream defined by device and returns the image size in imageSize and the number of frames found in the stream in imageCount.
Although frames may vary in size, they are all decoded onto an imageSize canvas.
Definition at line 664 of file qgifhandler.cpp.
Referenced by QGifHandler::imageCount(), QGifHandler::loopCount(), and QGifHandler::option().
|
static |
| bool QGIFFormat::newFrame |
Definition at line 39 of file qgifhandler.cpp.
Referenced by QGIFFormat().
| bool QGIFFormat::partialNewFrame |
Definition at line 40 of file qgifhandler.cpp.
Referenced by QGIFFormat().