QSkinny 0.8.0
C++/Qt UI toolkit
Loading...
Searching...
No Matches
QskRichTextRenderer.h
1/******************************************************************************
2 * QSkinny - Copyright (C) The authors
3 * SPDX-License-Identifier: BSD-3-Clause
4 *****************************************************************************/
5
6#ifndef QSK_RICH_TEXT_RENDERER_H
7#define QSK_RICH_TEXT_RENDERER_H
8
9#include "QskNamespace.h"
10#include <qnamespace.h>
11
12class QskTextColors;
13class QskTextOptions;
14
15class QString;
16class QFont;
17class QRectF;
18class QSizeF;
19class QQuickItem;
20class QSGTransformNode;
21
22namespace QskRichTextRenderer
23{
24 QSK_EXPORT void updateNode(
25 const QString&, const QFont&, const QskTextOptions&,
26 Qsk::TextStyle, const QskTextColors&, Qt::Alignment,
27 const QRectF&, const QQuickItem*, QSGTransformNode* );
28
29 QSK_EXPORT QSizeF textSize(
30 const QString&, const QFont&, const QskTextOptions& );
31
32 QSK_EXPORT QRectF textRect(
33 const QString&, const QFont&, const QskTextOptions&, const QSizeF& );
34}
35
36#endif