Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qfontmetrics.cpp File Reference
#include "qfont.h"
#include "qpaintdevice.h"
#include "qfontmetrics.h"
#include "qfont_p.h"
#include "qfontengine_p.h"
+ Include dependency graph for qfontmetrics.cpp:

Go to the source code of this file.

Functions

QT_BEGIN_NAMESPACE void qt_format_text (const QFont &font, const QRectF &_r, int tf, const QString &text, QRectF *brect, int tabStops, int *tabArray, int tabArrayLen, QPainter *painter)
 
static constexpr QLatin1Char s_variableLengthStringSeparator ('\x9c')
 

Function Documentation

◆ qt_format_text()

QT_BEGIN_NAMESPACE void qt_format_text ( const QFont font,
const QRectF _r,
int  tf,
const QString text,
QRectF brect,
int  tabStops,
int *  tabArray,
int  tabArrayLen,
QPainter painter 
)

Definition at line 7066 of file qpainter.cpp.

References painter, qt_format_text(), and str.

+ Here is the call graph for this function:

◆ s_variableLengthStringSeparator()

static constexpr QLatin1Char s_variableLengthStringSeparator ( '\x9c'  )
staticconstexpr

Referenced by QFontMetrics::elidedText(), QFontMetricsF::elidedText(), QFontMetrics::horizontalAdvance(), QFontMetrics::horizontalAdvance(), QFontMetricsF::horizontalAdvance(), and QFontMetricsF::horizontalAdvance().

+ Here is the caller graph for this function: