Qt 4.8
Public Functions | List of all members
QMeeGoRasterPixmapData Class Reference

#include <qmeegorasterpixmapdata.h>

Inheritance diagram for QMeeGoRasterPixmapData:
QRasterPixmapData QPixmapData

Public Functions

void copy (const QPixmapData *data, const QRect &rect)
 
 QMeeGoRasterPixmapData ()
 
 QMeeGoRasterPixmapData (QPixmapData::PixelType t)
 
- Public Functions inherited from QRasterPixmapData
QImagebuffer ()
 
QPixmapDatacreateCompatiblePixmapData () const
 
void fill (const QColor &color)
 
bool fromData (const uchar *buffer, uint len, const char *format, Qt::ImageConversionFlags flags)
 
void fromFile (const QString &filename, Qt::ImageConversionFlags flags)
 
void fromImage (const QImage &image, Qt::ImageConversionFlags flags)
 
void fromImageReader (QImageReader *imageReader, Qt::ImageConversionFlags flags)
 
bool hasAlphaChannel () const
 
QPaintEnginepaintEngine () const
 
 QRasterPixmapData (PixelType type)
 
void resize (int width, int height)
 
bool scroll (int dx, int dy, const QRect &rect)
 
void setAlphaChannel (const QPixmap &alphaChannel)
 
void setMask (const QBitmap &mask)
 
QImage toImage () const
 
QImage toImage (const QRect &rect) const
 
 ~QRasterPixmapData ()
 
- Public Functions inherited from QPixmapData
virtual QPixmap alphaChannel () const
 
qint64 cacheKey () const
 
ClassId classId () const
 
int colorCount () const
 
int depth () const
 
virtual bool fromFile (const QString &filename, const char *format, Qt::ImageConversionFlags flags)
 
int height () const
 
bool isNull () const
 
virtual QBitmap mask () const
 
QT_DEPRECATED int numColors () const
 
PixelType pixelType () const
 
 QPixmapData (PixelType pixelType, int classId)
 
virtual QPixmapDataruntimeData () const
 
int serialNumber () const
 
virtual QPixmap transformed (const QTransform &matrix, Qt::TransformationMode mode) const
 
int width () const
 
virtual ~QPixmapData ()
 

Additional Inherited Members

- Public Types inherited from QPixmapData
enum  ClassId {
  RasterClass, X11Class, MacClass, DirectFBClass,
  OpenGLClass, OpenVGClass, RuntimeClass, BlitterClass,
  CustomClass = 1024
}
 
enum  PixelType { PixmapType, BitmapType }
 
- Static Public Functions inherited from QPixmapData
static QPixmapDatacreate (int w, int h, PixelType type)
 
- Protected Functions inherited from QRasterPixmapData
void createPixmapForImage (QImage &sourceImage, Qt::ImageConversionFlags flags, bool inPlace)
 
int metric (QPaintDevice::PaintDeviceMetric metric) const
 
void setImage (const QImage &image)
 
- Protected Functions inherited from QPixmapData
void setSerialNumber (int serNo)
 
- Protected Variables inherited from QRasterPixmapData
QImage image
 
- Protected Variables inherited from QPixmapData
int d
 
int h
 
bool is_null
 
int w
 

Detailed Description

Definition at line 47 of file qmeegorasterpixmapdata.h.

Constructors and Destructors

◆ QMeeGoRasterPixmapData() [1/2]

QMeeGoRasterPixmapData::QMeeGoRasterPixmapData ( )

Definition at line 46 of file qmeegorasterpixmapdata.cpp.

◆ QMeeGoRasterPixmapData() [2/2]

QMeeGoRasterPixmapData::QMeeGoRasterPixmapData ( QPixmapData::PixelType  t)

Definition at line 50 of file qmeegorasterpixmapdata.cpp.

51 {
52 }
QRasterPixmapData(PixelType type)

Functions

◆ copy()

void QMeeGoRasterPixmapData::copy ( const QPixmapData data,
const QRect rect 
)
virtual

Reimplemented from QRasterPixmapData.

Definition at line 54 of file qmeegorasterpixmapdata.cpp.

55 {
56  if (data->classId() == QPixmapData::OpenGLClass)
58  else
59  QRasterPixmapData::copy(data, rect);
60 }
QImage copy(const QRect &rect=QRect()) const
Returns a sub-area of the image as a new image.
Definition: qimage.cpp:1410
void copy(const QPixmapData *data, const QRect &rect)
virtual QImage toImage() const =0
ClassId classId() const
void fromImage(const QImage &image, Qt::ImageConversionFlags flags)

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