summaryrefslogtreecommitdiffstats
path: root/src/declarative/graphicsitems/qdeclarativetextlayout_p.h
blob: 1a4473dc44182fb6d2b4848782f3e3baec6f3b52 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#ifndef QDECLARATIVETEXTLAYOUT_P_H
#define QDECLARATIVETEXTLAYOUT_P_H

#include <QtGui/qtextlayout.h>

class QDeclarativeTextLayoutPrivate;
class QDeclarativeTextLayout : public QTextLayout
{
public:
    QDeclarativeTextLayout();
    QDeclarativeTextLayout(const QString &);
    ~QDeclarativeTextLayout();

    void beginLayout();

    void prepare();
    void draw(QPainter *, const QPointF & = QPointF());

private:
    QDeclarativeTextLayoutPrivate *d;
};

#endif // QDECLARATIVETEXTLAYOUT_P_H