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

Public Types

enum  DisposalMethod { Unspecified , NoDisposal , RestoreBackground , RestoreImage }
 

Public Member Functions

 QPNGImageWriter (QIODevice *)
 
 ~QPNGImageWriter ()
 
void setDisposalMethod (DisposalMethod)
 
void setLooping (int loops=0)
 
void setFrameDelay (int msecs)
 
void setGamma (float)
 
bool writeImage (const QImage &img, int x, int y)
 
bool writeImage (const QImage &img, int compression_in, const QString &description, int x, int y)
 
bool writeImage (const QImage &img)
 
bool writeImage (const QImage &img, int compression, const QString &description)
 
QIODevicedevice ()
 

Detailed Description

Definition at line 132 of file qpnghandler.cpp.

Member Enumeration Documentation

◆ DisposalMethod

Enumerator
Unspecified 
NoDisposal 
RestoreBackground 
RestoreImage 

Definition at line 137 of file qpnghandler.cpp.

Constructor & Destructor Documentation

◆ QPNGImageWriter()

QPNGImageWriter::QPNGImageWriter ( QIODevice * iod)
explicit

Definition at line 752 of file qpnghandler.cpp.

◆ ~QPNGImageWriter()

QPNGImageWriter::~QPNGImageWriter ( )

Definition at line 762 of file qpnghandler.cpp.

Member Function Documentation

◆ device()

QIODevice * QPNGImageWriter::device ( )
inline

Definition at line 150 of file qpnghandler.cpp.

◆ setDisposalMethod()

void QPNGImageWriter::setDisposalMethod ( DisposalMethod dm)

Definition at line 766 of file qpnghandler.cpp.

◆ setFrameDelay()

void QPNGImageWriter::setFrameDelay ( int msecs)

Definition at line 776 of file qpnghandler.cpp.

◆ setGamma()

void QPNGImageWriter::setGamma ( float g)

Definition at line 781 of file qpnghandler.cpp.

◆ setLooping()

void QPNGImageWriter::setLooping ( int loops = 0)

Definition at line 771 of file qpnghandler.cpp.

◆ writeImage() [1/4]

bool QPNGImageWriter::writeImage ( const QImage & img)
inline

Definition at line 145 of file qpnghandler.cpp.

References writeImage().

+ Here is the call graph for this function:

◆ writeImage() [2/4]

bool QPNGImageWriter::writeImage ( const QImage & img,
int compression,
const QString & description )
inline

Definition at line 147 of file qpnghandler.cpp.

References writeImage().

+ Here is the call graph for this function:

◆ writeImage() [3/4]

◆ writeImage() [4/4]

bool QPNGImageWriter::writeImage ( const QImage & img,
int x,
int y )

Definition at line 844 of file qpnghandler.cpp.

References writeImage().

Referenced by writeImage(), writeImage(), and writeImage().

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

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