blob: b38ef93c0c20f4d643b5225ebf449a5cd1566bb1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
/****************************************************************************
**
** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
** Contact: Qt Software Information (qt-info@nokia.com)
**
** This file is part of the $MODULE$ of the Qt Toolkit.
**
** $TROLLTECH_DUAL_LICENSE$
**
****************************************************************************/
#ifndef QPAINTENGINE_S60_P_H
#define QPAINTENGINE_S60_P_H
//
// W A R N I N G
// -------------
//
// This file is not part of the Qt API. It exists for the convenience
// of other Qt classes. This header file may change from version to
// version without notice, or even be removed.
//
// We mean it.
//
#include "private/qpaintengine_raster_p.h"
QT_BEGIN_NAMESPACE
class QS60PaintEnginePrivate;
class QS60PixmapData;
class QS60PaintEngine : public QRasterPaintEngine
{
Q_DECLARE_PRIVATE(QS60PaintEngine)
public:
QS60PaintEngine(QPaintDevice *device, QS60PixmapData* data);
bool begin(QPaintDevice *device);
bool end();
void drawPixmap(const QPointF &p, const QPixmap &pm);
void drawPixmap(const QRectF &r, const QPixmap &pm, const QRectF &sr);
void drawTiledPixmap(const QRectF &r, const QPixmap &pm, const QPointF &sr);
void prepare(QImage* image);
private:
QS60PixmapData *pixmapData;
};
QT_END_NAMESPACE
#endif // QPAINTENGINE_S60_P_H
|