# QPixmapData Class Reference

List of all members.

## Public Types
enum | PixelType { PixmapType, BitmapType }
enum | ClassId { RasterClass, X11Class, MacClass, DirectFBClass, OpenGLClass, OpenVGClass, CustomClass = 1024 }
## Public Member Functions
| QPixmapData (PixelType pixelpType, int classId)
virtual void | resize (int width, int height)=0
virtual void | fromImage (const QImage &image, Qt::ImageConversionFlags flags)=0
virtual void | fromFile (const QString &filename, const char *format, Qt::ImageConversionFlags flags)
virtual void | copy (const QPixmapData *data, const QRect &rect)
virtual int | metric (QPaintDevice::PaintDeviceMetric metric) const =0
virtual void | fill (const QColor &color)=0
virtual QBitmap | mask () const
virtual void | setMask (const QBitmap &mask)
virtual bool | hasAlphaChannel () const =0
virtual QPixmap | transformed (const QTransform &matrix, Qt::TransformationMode mode) const
virtual void | setAlphaChannel (const QPixmap &alphaChannel)
virtual QPixmap | alphaChannel () const
virtual QImage | toImage () const =0
virtual QPaintEngine * | paintEngine () const =0
int | serialNumber () const
PixelType | pixelType () const
ClassId | classId () const
virtual QImage * | buffer ()
int | width () const
int | height () const
int | numColors () const
int | depth () const
## Protected Member Functions
void | setSerialNumber (int serNo)
## Friends
class | QPixmap
class | QGLContextPrivate
class | QX11PixmapData

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

- qtprivate_pixmapdata_p.h