Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qfontmetrics.cpp File Reference

(132be307fff049e83ba8b93733fc571c0c45469b)

#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 )
extern

Definition at line 7087 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: