KD Reports API Documentation  2.2
Functions
KDReportsFontScaler.cpp File Reference
#include "KDReportsFontScaler_p.h"
#include <QDebug>
#include <QFont>
#include <QFontMetricsF>

Go to the source code of this file.

Functions

static qreal textWidthForMetrics (const QFontMetricsF &fm, const QString &text)
 

Function Documentation

◆ textWidthForMetrics()

static qreal textWidthForMetrics ( const QFontMetricsF &  fm,
const QString &  text 
)
static

© Klarälvdalens Datakonsult AB (KDAB)
"The Qt, C++ and OpenGL Experts"
https://www.kdab.com/
https://www.kdab.com/development-resources/qt-tools/kd-reports/
Generated by doxygen 1.9.1