Qt 4.8
Functions
qfontmetrics.cpp File Reference
#include "qfont.h"
#include "qpaintdevice.h"
#include "qfontmetrics.h"
#include "qfont_p.h"
#include "qfontengine_p.h"
#include <private/qunicodetables_p.h>
#include <math.h>
#include "qx11info_x11.h"

Go to the source code of this file.

Functions

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)
 
const QX11Infoqt_x11Info (const QPaintDevice *pd)
 

Function Documentation

◆ qt_format_text()

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 8448 of file qpainter.cpp.

Referenced by QFontMetrics::boundingRect(), and QFontMetricsF::boundingRect().

8452 {
8453  qt_format_text(fnt, _r,
8454  tf, 0, str, brect,
8455  tabstops, ta, tabarraylen,
8456  painter);
8457 }
void qt_format_text(const QFont &font, const QRectF &_r, int tf, const QTextOption *option, const QString &str, QRectF *brect, int tabstops, int *tabarray, int tabarraylen, QPainter *painter)
Definition: qpainter.cpp:8458

◆ qt_x11Info()

const QX11Info* qt_x11Info ( const QPaintDevice pd)
related