QSkinny 0.8.0
C++/Qt UI toolkit
Loading...
Searching...
No Matches
QskTextRenderer.h
1/******************************************************************************
2 * QSkinny - Copyright (C) The authors
3 * SPDX-License-Identifier: BSD-3-Clause
4 *****************************************************************************/
5
6#ifndef QSK_TEXT_RENDERER_H
7#define QSK_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 QskTextRenderer
23{
24 QSK_EXPORT void updateNode(
25 const QString&, const QFont&, const QskTextOptions&, Qsk::TextStyle,
26 const QskTextColors&, Qt::Alignment, const QRectF&,
27 const QQuickItem*, QSGTransformNode* );
28
29 QSK_EXPORT QSizeF textSize(
30 const QString&, const QFont&, const QskTextOptions& );
31
32 QSK_EXPORT QSizeF textSize(
33 const QString&, const QFont&, const QskTextOptions&, const QSizeF& );
34}
35
36#endif