src/plugins/gfxdrivers/directfb/qdirectfbpixmap.h
changeset 18 2f34d5167611
parent 0 1918ee327afb
child 33 3e2da88830cd
equal deleted inserted replaced
3:41300fa6a67c 18:2f34d5167611
     1 /****************************************************************************
     1 /****************************************************************************
     2 **
     2 **
     3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
     3 ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
     4 ** All rights reserved.
     4 ** All rights reserved.
     5 ** Contact: Nokia Corporation (qt-info@nokia.com)
     5 ** Contact: Nokia Corporation (qt-info@nokia.com)
     6 **
     6 **
     7 ** This file is part of the plugins of the Qt Toolkit.
     7 ** This file is part of the plugins of the Qt Toolkit.
     8 **
     8 **
    79     virtual QPixmap transformed(const QTransform &matrix,
    79     virtual QPixmap transformed(const QTransform &matrix,
    80                                 Qt::TransformationMode mode) const;
    80                                 Qt::TransformationMode mode) const;
    81     virtual QImage toImage() const;
    81     virtual QImage toImage() const;
    82     virtual QPaintEngine *paintEngine() const;
    82     virtual QPaintEngine *paintEngine() const;
    83     virtual QImage *buffer();
    83     virtual QImage *buffer();
       
    84     virtual bool scroll(int dx, int dy, const QRect &rect);
    84     // Pure virtual in QPixmapData, so re-implement here and delegate to QDirectFBPaintDevice
    85     // Pure virtual in QPixmapData, so re-implement here and delegate to QDirectFBPaintDevice
    85     virtual int metric(QPaintDevice::PaintDeviceMetric m) const { return QDirectFBPaintDevice::metric(m); }
    86     virtual int metric(QPaintDevice::PaintDeviceMetric m) const { return QDirectFBPaintDevice::metric(m); }
    86 
    87 
    87     inline QImage::Format pixelFormat() const { return imageFormat; }
    88     inline QImage::Format pixelFormat() const { return imageFormat; }
    88     static bool hasAlphaChannel(const QImage &img);
    89     static bool hasAlphaChannel(const QImage &img);