NAME
Qt::Gui::QImage
PUBLIC METHODS
- QImage()
- QImage(const char ** xpm)
- QImage(const QImage & arg0)
- QImage(const QSize & size, QImage::Format format)
- QImage(const QString & fileName, const char * format)
- QImage(const QString & fileName, const char * format = 0)
- QImage(const char * fileName, const char * format)
- QImage(const char * fileName, const char * format = 0)
- QImage(int width, int height, QImage::Format format)
- QImage(uchar * data, int width, int height, QImage::Format format)
- QImage(const uchar * data, int width, int height, QImage::Format format)
- QImage(uchar * data, int width, int height, int bytesPerLine, QImage::Format format)
- QImage(const uchar * data, int width, int height, int bytesPerLine, QImage::Format format)
- ~QImage()
- bool allGray()
- QImage alphaChannel()
- int bitPlaneCount()
- uchar * bits()
- const uchar * bits()
- int byteCount()
- int bytesPerLine()
- qint64 cacheKey()
- unsigned int color(int i)
- int colorCount()
- const uchar * constBits()
- const uchar * constScanLine(int arg0)
- QImage convertToFormat(QImage::Format f, QFlags<Qt::ImageConversionFlag> flags)
- QImage convertToFormat(QImage::Format f, QFlags<Qt::ImageConversionFlag> flags = Qt::AutoColor)
- QImage copy(const QRect & rect)
- QImage copy(const QRect & rect = QRect())
- QImage copy(int x, int y, int w, int h)
- QImage createAlphaMask(QFlags<Qt::ImageConversionFlag> flags)
- QImage createAlphaMask(QFlags<Qt::ImageConversionFlag> flags = Qt::AutoColor)
- QImage createHeuristicMask(bool clipTight)
- QImage createHeuristicMask(bool clipTight = true)
- QImage createMaskFromColor(unsigned int color, Qt::MaskMode mode)
- QImage createMaskFromColor(unsigned int color, Qt::MaskMode mode = Qt::MaskInColor)
- QImageData * & data_ptr()
- int depth()
- void detach()
- int devType()
- int dotsPerMeterX()
- int dotsPerMeterY()
- void fill(uint pixel)
- QImage::Format format()
- static QImage fromData(const QByteArray & data, const char * format)
- static QImage fromData(const QByteArray & data, const char * format = 0)
- static QImage fromData(const uchar * data, int size, const char * format)
- static QImage fromData(const uchar * data, int size, const char * format = 0)
- bool hasAlphaChannel()
- int height()
- void invertPixels(QImage::InvertMode arg0)
- void invertPixels(QImage::InvertMode arg0 = QImage::InvertRgb)
- bool isDetached()
- bool isGrayscale()
- bool isNull()
- bool load(QIODevice * device, const char * format)
- bool load(const QString & fileName, const char * format)
- bool load(const QString & fileName, const char * format = 0)
- bool loadFromData(const QByteArray & data, const char * aformat)
- bool loadFromData(const QByteArray & data, const char * aformat = 0)
- bool loadFromData(const uchar * buf, int len, const char * format)
- bool loadFromData(const uchar * buf, int len, const char * format = 0)
- QImage mirrored(bool horizontally, bool vertically)
- QImage mirrored(bool horizontally, bool vertically = true)
- QImage mirrored(bool horizontally = false, bool vertically = true)
- int numBytes()
- int numColors()
- QPoint offset()
- QVariant operator QVariant()
- bool operator!=(const QImage & arg0)
- QImage & operator=(const QImage & arg0)
- bool operator==(const QImage & arg0)
- QPaintEngine * paintEngine()
- unsigned int pixel(const QPoint & pt)
- unsigned int pixel(int x, int y)
- int pixelIndex(const QPoint & pt)
- int pixelIndex(int x, int y)
- QRect rect()
- QImage rgbSwapped()
- bool save(const QString & fileName, const char * format, int quality)
- bool save(const QString & fileName, const char * format, int quality = -1)
- bool save(const QString & fileName, const char * format = 0, int quality = -1)
- bool save(QIODevice * device, const char * format, int quality)
- bool save(QIODevice * device, const char * format, int quality = -1)
- bool save(QIODevice * device, const char * format = 0, int quality = -1)
- QImage scaled(const QSize & s, Qt::AspectRatioMode aspectMode, Qt::TransformationMode mode)
- QImage scaled(const QSize & s, Qt::AspectRatioMode aspectMode, Qt::TransformationMode mode = Qt::FastTransformation)
- QImage scaled(const QSize & s, Qt::AspectRatioMode aspectMode = Qt::IgnoreAspectRatio, Qt::TransformationMode mode = Qt::FastTransformation)
- QImage scaled(int w, int h, Qt::AspectRatioMode aspectMode, Qt::TransformationMode mode)
- QImage scaled(int w, int h, Qt::AspectRatioMode aspectMode, Qt::TransformationMode mode = Qt::FastTransformation)
- QImage scaled(int w, int h, Qt::AspectRatioMode aspectMode = Qt::IgnoreAspectRatio, Qt::TransformationMode mode = Qt::FastTransformation)
- QImage scaledToHeight(int h, Qt::TransformationMode mode)
- QImage scaledToHeight(int h, Qt::TransformationMode mode = Qt::FastTransformation)
- QImage scaledToWidth(int w, Qt::TransformationMode mode)
- QImage scaledToWidth(int w, Qt::TransformationMode mode = Qt::FastTransformation)
- uchar * scanLine(int arg0)
- const uchar * scanLine(int arg0)
- int serialNumber()
- void setAlphaChannel(const QImage & alphaChannel)
- void setColor(int i, unsigned int c)
- void setColorCount(int arg0)
- void setDotsPerMeterX(int arg0)
- void setDotsPerMeterY(int arg0)
- void setNumColors(int arg0)
- void setOffset(const QPoint & arg0)
- void setPixel(const QPoint & pt, uint index_or_rgb)
- void setPixel(int x, int y, uint index_or_rgb)
- void setText(const QString & key, const QString & value)
- void setText(const char * key, const char * lang, const QString & arg2)
- QSize size()
- QString text(const QString & key)
- QString text(const QString & key = QString())
- QString text(const QImageTextKeyLang & arg0)
- QString text(const char * key, const char * lang)
- QString text(const char * key, const char * lang = 0)
- QStringList textKeys()
- QStringList textLanguages()
- QImage transformed(const QMatrix & matrix, Qt::TransformationMode mode)
- QImage transformed(const QMatrix & matrix, Qt::TransformationMode mode = Qt::FastTransformation)
- QImage transformed(const QTransform & matrix, Qt::TransformationMode mode)
- QImage transformed(const QTransform & matrix, Qt::TransformationMode mode = Qt::FastTransformation)
- static QMatrix trueMatrix(const QMatrix & arg0, int w, int h)
- static QTransform trueMatrix(const QTransform & arg0, int w, int h)
- bool valid(const QPoint & pt)
- bool valid(int x, int y)
- int width()
ENUM VALUES
- InvertRgb
- InvertRgba
- Format_Invalid
- Format_Mono
- Format_MonoLSB
- Format_Indexed8
- Format_RGB32
- Format_ARGB32
- Format_ARGB32_Premultiplied
- Format_RGB16
- Format_ARGB8565_Premultiplied
- Format_RGB666
- Format_ARGB6666_Premultiplied
- Format_RGB555
- Format_ARGB8555_Premultiplied
- Format_RGB888
- Format_RGB444
- Format_ARGB4444_Premultiplied
- NImageFormats
EXPORT
None by default.
AUTHOR
Dongxu Ma <dongxu@cpan.org>
COPYRIGHT AND LICENSE
Copyright (C) 2011 - 2012 by Dongxu Ma
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.