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