NAME

Qt::Gui::QPixmap

PUBLIC METHODS

QPixmap()
QPixmap(QPixmapData * data)
QPixmap(const QSize & arg0)
QPixmap(T_ARRAY_XPM const char * const * T_ARRAY_XPM)
QPixmap(const QPixmap & arg0)
QPixmap(int w, int h)
QPixmap(const QString & fileName, const char * format, QFlags<Qt::ImageConversionFlag> flags)
QPixmap(const QString & fileName, const char * format, QFlags<Qt::ImageConversionFlag> flags = Qt::AutoColor)
QPixmap(const QString & fileName, const char * format = 0, QFlags<Qt::ImageConversionFlag> flags = Qt::AutoColor)
~QPixmap()
QPixmap alphaChannel()
qint64 cacheKey()
bool convertFromImage(const QImage & img, QFlags<Qt::ImageConversionFlag> flags)
bool convertFromImage(const QImage & img, QFlags<Qt::ImageConversionFlag> flags = Qt::AutoColor)
QPixmap copy(const QRect & rect)
QPixmap copy(const QRect & rect = QRect())
QPixmap copy(int x, int y, int width, int height)
QBitmap createHeuristicMask(bool clipTight)
QBitmap createHeuristicMask(bool clipTight = true)
QBitmap createMaskFromColor(const QColor & maskColor)
QBitmap createMaskFromColor(const QColor & maskColor, Qt::MaskMode mode)
static int defaultDepth()
int depth()
void detach()
int devType()
void fill(const QColor & fillColor)
void fill(const QColor & fillColor = Qt::white)
void fill(const QWidget * widget, const QPoint & ofs)
void fill(const QWidget * widget, int xofs, int yofs)
static QPixmap fromImage(const QImage & image, QFlags<Qt::ImageConversionFlag> flags)
static QPixmap fromImage(const QImage & image, QFlags<Qt::ImageConversionFlag> flags = Qt::AutoColor)
static QPixmap fromImageReader(QImageReader * imageReader, QFlags<Qt::ImageConversionFlag> flags)
static QPixmap fromImageReader(QImageReader * imageReader, QFlags<Qt::ImageConversionFlag> flags = Qt::AutoColor)
static QPixmap fromX11Pixmap(unsigned long pixmap, QPixmap::ShareMode mode)
static QPixmap fromX11Pixmap(unsigned long pixmap, QPixmap::ShareMode mode = QPixmap::ImplicitlyShared)
static QPixmap grabWidget(QWidget * widget, const QRect & rect)
static QPixmap grabWidget(QWidget * widget, int x, int y, int w, int h)
static QPixmap grabWidget(QWidget * widget, int x, int y, int w, int h = -1)
static QPixmap grabWidget(QWidget * widget, int x, int y, int w = -1, int h = -1)
static QPixmap grabWidget(QWidget * widget, int x, int y = 0, int w = -1, int h = -1)
static QPixmap grabWidget(QWidget * widget, int x = 0, int y = 0, int w = -1, int h = -1)
static QPixmap grabWindow(unsigned long arg0, int x, int y, int w, int h)
static QPixmap grabWindow(unsigned long arg0, int x, int y, int w, int h = -1)
static QPixmap grabWindow(unsigned long arg0, int x, int y, int w = -1, int h = -1)
static QPixmap grabWindow(unsigned long arg0, int x, int y = 0, int w = -1, int h = -1)
static QPixmap grabWindow(unsigned long arg0, int x = 0, int y = 0, int w = -1, int h = -1)
unsigned long handle()
bool hasAlpha()
bool hasAlphaChannel()
int height()
bool isDetached()
bool isNull()
bool isQBitmap()
bool load(const QString & fileName, const char * format, QFlags<Qt::ImageConversionFlag> flags)
bool load(const QString & fileName, const char * format, QFlags<Qt::ImageConversionFlag> flags = Qt::AutoColor)
bool load(const QString & fileName, const char * format = 0, QFlags<Qt::ImageConversionFlag> flags = Qt::AutoColor)
bool loadFromData(const QByteArray & data, const char * format, QFlags<Qt::ImageConversionFlag> flags)
bool loadFromData(const QByteArray & data, const char * format, QFlags<Qt::ImageConversionFlag> flags = Qt::AutoColor)
bool loadFromData(const QByteArray & data, const char * format = 0, QFlags<Qt::ImageConversionFlag> flags = Qt::AutoColor)
bool loadFromData(const uchar * buf, uint len, const char * format, QFlags<Qt::ImageConversionFlag> flags)
bool loadFromData(const uchar * buf, uint len, const char * format, QFlags<Qt::ImageConversionFlag> flags = Qt::AutoColor)
bool loadFromData(const uchar * buf, uint len, const char * format = 0, QFlags<Qt::ImageConversionFlag> flags = Qt::AutoColor)
QBitmap mask()
QVariant operator QVariant()
bool operator!()
QPixmap & operator=(const QPixmap & arg0)
QPaintEngine * paintEngine()
QPixmapData * pixmapData()
QRect rect()
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)
QPixmap scaled(const QSize & s, Qt::AspectRatioMode aspectMode, Qt::TransformationMode mode)
QPixmap scaled(const QSize & s, Qt::AspectRatioMode aspectMode, Qt::TransformationMode mode = Qt::FastTransformation)
QPixmap scaled(const QSize & s, Qt::AspectRatioMode aspectMode = Qt::IgnoreAspectRatio, Qt::TransformationMode mode = Qt::FastTransformation)
QPixmap scaled(int w, int h, Qt::AspectRatioMode aspectMode, Qt::TransformationMode mode)
QPixmap scaled(int w, int h, Qt::AspectRatioMode aspectMode, Qt::TransformationMode mode = Qt::FastTransformation)
QPixmap scaled(int w, int h, Qt::AspectRatioMode aspectMode = Qt::IgnoreAspectRatio, Qt::TransformationMode mode = Qt::FastTransformation)
QPixmap scaledToHeight(int h, Qt::TransformationMode mode)
QPixmap scaledToHeight(int h, Qt::TransformationMode mode = Qt::FastTransformation)
QPixmap scaledToWidth(int w, Qt::TransformationMode mode)
QPixmap scaledToWidth(int w, Qt::TransformationMode mode = Qt::FastTransformation)
void scroll(int dx, int dy, const QRect & rect, QRegion * exposed)
void scroll(int dx, int dy, const QRect & rect, QRegion * exposed = 0)
void scroll(int dx, int dy, int x, int y, int width, int height, QRegion * exposed)
void scroll(int dx, int dy, int x, int y, int width, int height, QRegion * exposed = 0)
int serialNumber()
void setAlphaChannel(const QPixmap & arg0)
void setMask(const QBitmap & arg0)
QSize size()
QImage toImage()
QPixmap transformed(const QMatrix & arg0, Qt::TransformationMode mode)
QPixmap transformed(const QMatrix & arg0, Qt::TransformationMode mode = Qt::FastTransformation)
QPixmap transformed(const QTransform & arg0, Qt::TransformationMode mode)
QPixmap transformed(const QTransform & arg0, Qt::TransformationMode mode = Qt::FastTransformation)
static QMatrix trueMatrix(const QMatrix & m, int w, int h)
static QTransform trueMatrix(const QTransform & m, int w, int h)
int width()
const QX11Info & x11Info()
unsigned long x11PictureHandle()
static int x11SetDefaultScreen(int screen)
void x11SetScreen(int screen)

ENUM VALUES

ImplicitlyShared
ExplicitlyShared

EXPORT

None by default.

AUTHOR

Dongxu Ma <dongxu@cpan.org>

COPYRIGHT AND LICENSE

Copyright (C) 2011 - 2011 by Dongxu Ma

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

See http://dev.perl.org/licenses/artistic.html