Qt 4.8
|
#include <qimage_p.h>
Public Functions | |
bool | checkForAlphaPixels () const |
bool | convertInPlace (QImage::Format newFormat, Qt::ImageConversionFlags) |
bool | doImageIO (const QImage *image, QImageWriter *io, int quality) const |
QImageData () | |
~QImageData () | |
Static Public Functions | |
static QImageData * | create (const QSize &size, QImage::Format format, int numColors=0) |
static QImageData * | create (uchar *data, int w, int h, int bpl, QImage::Format format, bool readOnly) |
Public Variables | |
int | bytes_per_line |
QVector< QRgb > | colortable |
uchar * | data |
int | depth |
int | detach_no |
qreal | dpmx |
qreal | dpmy |
QImage::Format | format |
uint | has_alpha_clut: 1 |
int | height |
uint | is_cached: 1 |
int | nbytes |
QPoint | offset |
uint | own_data: 1 |
QPaintEngine * | paintEngine |
QAtomicInt | ref |
uint | ro_data: 1 |
int | ser_no |
QMap< QString, QString > | text |
int | width |
Definition at line 68 of file qimage_p.h.
QImageData::QImageData | ( | ) |
Definition at line 129 of file qimage.cpp.
QImageData::~QImageData | ( | ) |
Definition at line 220 of file qimage.cpp.
bool QImageData::checkForAlphaPixels | ( | ) | const |
Definition at line 236 of file qimage.cpp.
Referenced by QVGPixmapData::idealFormat().
bool QImageData::convertInPlace | ( | QImage::Format | newFormat, |
Qt::ImageConversionFlags | flags | ||
) |
Definition at line 6935 of file qimage.cpp.
Referenced by QRasterPixmapData::createPixmapForImage(), QVGPixmapData::createPixmapForImage(), and QGLPixmapData::createPixmapForImage().
|
static |
Creates a new image data. Returns 0 if invalid parameters are give or anything else failed.
Definition at line 151 of file qimage.cpp.
Referenced by convert_ARGB_PM_to_Indexed8(), convert_ARGB_PM_to_Mono(), convert_RGB_to_Indexed8(), QImage::format(), and QImage::QImage().
|
static |
Definition at line 837 of file qimage.cpp.
bool QImageData::doImageIO | ( | const QImage * | image, |
QImageWriter * | io, | ||
int | quality | ||
) | const |
Definition at line 5379 of file qimage.cpp.
Referenced by QImage::save().
int QImageData::bytes_per_line |
Definition at line 86 of file qimage_p.h.
Referenced by QImage::alphaChannel(), checkForAlphaPixels(), QImage::colorCount(), QImage::constScanLine(), convert_ARGB_PM_to_ARGB(), convert_ARGB_PM_to_RGB(), convert_ARGB_to_ARGB_PM(), convert_ARGB_to_ARGB_PM_inplace(), convert_indexed8_to_ARGB_PM_inplace(), convert_indexed8_to_RGB16_inplace(), convert_indexed8_to_RGB_inplace(), convert_Indexed8_to_X32(), convert_Mono_to_Indexed8(), convert_Mono_to_X32(), convert_RGB_to_Indexed8(), convert_RGB_to_RGB16_inplace(), QImage::copy(), create(), dither_to_Mono(), QImage::fill(), QSpanData::initTexture(), QImage::invertPixels(), mask_alpha_converter(), QImage::mirrored(), QImage::operator==(), QImage::QImage(), QImage::scanLine(), QImage::setAlphaChannel(), and swap_bit_order().
Definition at line 80 of file qimage_p.h.
Referenced by QImage::allGray(), QImage::color(), QImage::colorCount(), QImage::colorTable(), convert_indexed8_to_ARGB_PM_inplace(), convert_indexed8_to_RGB16_inplace(), convert_indexed8_to_RGB_inplace(), convert_Indexed8_to_X32(), convert_Mono_to_Indexed8(), convert_Mono_to_X32(), convert_RGB_to_Indexed8(), QImage::copy(), create(), dither_to_Mono(), QImage::fill(), QSpanData::initTexture(), QImage::isGrayscale(), QRasterPixmapData::metric(), QImage::mirrored(), QImage::numColors(), QImage::operator==(), QImage::pixel(), QImage::QImage(), qt_image_colortable(), QImage::rgbSwapped(), QImage::setColor(), QImage::setColorCount(), QImage::setColorTable(), QImage::setPixel(), swap_bit_order(), and QImage::transformed().
uchar* QImageData::data |
Definition at line 81 of file qimage_p.h.
Referenced by QImage::alphaChannel(), QImage::bits(), checkForAlphaPixels(), QImage::colorCount(), QImage::constBits(), QImage::constScanLine(), convert_ARGB_PM_to_ARGB(), convert_ARGB_PM_to_RGB(), convert_ARGB_to_ARGB_PM(), convert_ARGB_to_ARGB_PM_inplace(), convert_indexed8_to_ARGB_PM_inplace(), convert_indexed8_to_RGB16_inplace(), convert_indexed8_to_RGB_inplace(), convert_Indexed8_to_X32(), convert_Mono_to_Indexed8(), convert_Mono_to_X32(), convert_RGB_to_Indexed8(), convert_RGB_to_RGB16_inplace(), QImage::copy(), create(), QMeeGoGraphicsSystem::createPixmapData(), dither_to_Mono(), QImage::fill(), QSpanData::initTexture(), QImage::invertPixels(), mask_alpha_converter(), QImage::mirrored(), QMeeGoGraphicsSystem::pixmapDataFromEGLSharedImage(), QImage::QImage(), QImage::scanLine(), QImage::setAlphaChannel(), QImage::setPixel(), swap_bit_order(), and ~QImageData().
int QImageData::depth |
Definition at line 78 of file qimage_p.h.
Referenced by QImage::allGray(), convert_indexed8_to_ARGB_PM_inplace(), convert_indexed8_to_RGB16_inplace(), convert_indexed8_to_RGB_inplace(), convert_RGB_to_RGB16_inplace(), QImage::convertToFormat(), QImage::copy(), create(), QImage::createAlphaMask(), QImage::createHeuristicMask(), QRasterPixmapData::createPixmapForImage(), QImage::depth(), dither_to_Mono(), QImage::fill(), QImage::invertPixels(), QImage::mirrored(), QImage::pixelIndex(), QImage::QImage(), qt_get_bitflip_array(), QImage::setAlphaChannel(), QImage::setColor(), and QImage::setPixel().
int QImageData::detach_no |
Definition at line 88 of file qimage_p.h.
Referenced by QImage::detach(), and ~QImageData().
qreal QImageData::dpmx |
Definition at line 90 of file qimage_p.h.
Referenced by QImage::copy(), and QImage::transformed().
qreal QImageData::dpmy |
Definition at line 91 of file qimage_p.h.
Referenced by QImage::copy(), and QImage::transformed().
QImage::Format QImageData::format |
Definition at line 85 of file qimage_p.h.
Referenced by QImage::allGray(), convert_ARGB_PM_to_ARGB(), convert_ARGB_PM_to_RGB(), convert_ARGB_to_ARGB_PM(), convert_ARGB_to_ARGB_PM_inplace(), convert_indexed8_to_ARGB_PM_inplace(), convert_indexed8_to_RGB16_inplace(), convert_indexed8_to_RGB_inplace(), convert_Indexed8_to_X32(), convert_Mono_to_Indexed8(), convert_Mono_to_X32(), convert_RGB_to_Indexed8(), convert_RGB_to_RGB16_inplace(), QImage::convertToFormat(), QImage::copy(), create(), QImage::createAlphaMask(), QRasterPixmapData::createPixmapForImage(), dither_to_Mono(), QRasterPixmapData::fill(), QImage::fill(), QImage::format(), QSpanData::initTexture(), QImage::mirrored(), QImage::operator==(), QImage::pixel(), QImage::pixelIndex(), QImage::QImage(), qt_get_bitflip_array(), QImage::rgbSwapped(), QImage::setPixel(), and swap_bit_order().
uint QImageData::has_alpha_clut |
Definition at line 96 of file qimage_p.h.
Referenced by checkForAlphaPixels(), convert_Mono_to_Indexed8(), convert_RGB_to_Indexed8(), QImage::copy(), create(), QImage::mirrored(), QImage::setColor(), QImage::setColorTable(), and QImage::transformed().
int QImageData::height |
Definition at line 77 of file qimage_p.h.
Referenced by QImage::bytesPerLine(), checkForAlphaPixels(), QImage::colorCount(), convert_ARGB_PM_to_ARGB(), convert_ARGB_PM_to_Indexed8(), convert_ARGB_PM_to_Mono(), convert_ARGB_PM_to_RGB(), convert_ARGB_to_ARGB_PM(), convert_ARGB_to_ARGB_PM_inplace(), convert_indexed8_to_ARGB_PM_inplace(), convert_indexed8_to_RGB16_inplace(), convert_indexed8_to_RGB_inplace(), convert_Indexed8_to_X32(), convert_Mono_to_Indexed8(), convert_Mono_to_X32(), convert_RGB_to_Indexed8(), convert_RGB_to_RGB16_inplace(), QImage::convertToFormat(), QImage::copy(), create(), QImage::createAlphaMask(), QImage::createMaskFromColor(), QRasterPixmapData::createPixmapForImage(), dither_to_Mono(), QImage::fill(), QImage::height(), QSpanData::initTexture(), QImage::invertPixels(), mask_alpha_converter(), QRasterPixmapData::metric(), QImage::mirrored(), QImage::operator==(), QImage::QImage(), QImage::rect(), QImage::rgbSwapped(), QImage::setAlphaChannel(), QImage::setPixel(), QImage::size(), swap_bit_order(), and QImage::valid().
uint QImageData::is_cached |
Definition at line 97 of file qimage_p.h.
Referenced by create(), QImage::detach(), and ~QImageData().
int QImageData::nbytes |
Definition at line 79 of file qimage_p.h.
Referenced by QImage::byteCount(), QImage::bytesPerLine(), convert_indexed8_to_ARGB_PM_inplace(), convert_indexed8_to_RGB16_inplace(), convert_indexed8_to_RGB_inplace(), convert_RGB_to_RGB16_inplace(), QImage::copy(), create(), dither_to_Mono(), QImage::invertPixels(), QImage::numBytes(), QImage::QImage(), QImage::setPixel(), and swap_bit_order().
QPoint QImageData::offset |
Definition at line 92 of file qimage_p.h.
Referenced by QImage::copy().
uint QImageData::own_data |
Definition at line 94 of file qimage_p.h.
Referenced by create(), QImage::QImage(), qpaintbuffer_storable_image(), QX11PixmapData::takeQImageFromXImage(), and ~QImageData().
QPaintEngine* QImageData::paintEngine |
Definition at line 110 of file qimage_p.h.
Referenced by QPixmapCacheEntry::QPixmapCacheEntry(), QRasterPixmapData::toImage(), QGLPixmapData::toImage(), and ~QImageData().
QAtomicInt QImageData::ref |
Definition at line 74 of file qimage_p.h.
Referenced by create(), QImage::detach(), QImage::format(), QImage::operator=(), QImage::QImage(), and QImage::~QImage().
uint QImageData::ro_data |
Definition at line 95 of file qimage_p.h.
Referenced by create(), and QImage::detach().
int QImageData::ser_no |
Definition at line 87 of file qimage_p.h.
Referenced by ~QImageData().
Definition at line 106 of file qimage_p.h.
Referenced by QImage::convertToFormat(), and QImage::copy().
int QImageData::width |
Definition at line 76 of file qimage_p.h.
Referenced by checkForAlphaPixels(), convert_ARGB_PM_to_ARGB(), convert_ARGB_PM_to_Indexed8(), convert_ARGB_PM_to_Mono(), convert_ARGB_PM_to_RGB(), convert_ARGB_to_ARGB_PM(), convert_ARGB_to_ARGB_PM_inplace(), convert_indexed8_to_ARGB_PM_inplace(), convert_indexed8_to_RGB16_inplace(), convert_indexed8_to_RGB_inplace(), convert_Indexed8_to_X32(), convert_Mono_to_Indexed8(), convert_Mono_to_X32(), convert_RGB_to_Indexed8(), convert_RGB_to_RGB16_inplace(), QImage::convertToFormat(), QImage::copy(), create(), QImage::createAlphaMask(), QImage::createMaskFromColor(), QRasterPixmapData::createPixmapForImage(), dither_to_Mono(), QImage::fill(), QSpanData::initTexture(), QImage::invertPixels(), mask_alpha_converter(), QRasterPixmapData::metric(), QImage::mirrored(), QImage::operator==(), QImage::pixel(), QImage::pixelIndex(), QImage::QImage(), QImage::rect(), QImage::rgbSwapped(), QImage::setAlphaChannel(), QImage::setPixel(), QImage::size(), swap_bit_order(), QImage::valid(), and QImage::width().