MCPcopy Create free account
hub / github.com/KDAB/KDChart / calculatedFontSize

Method calculatedFontSize

src/KDChart/KDChartTextAttributes.cpp:140–146  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

138}
139
140qreal TextAttributes::calculatedFontSize(const QSizeF &referenceSize,
141 KDChartEnums::MeasureOrientation autoReferenceOrientation) const
142{
143 const qreal normalSize = fontSize().calculatedValue(referenceSize, autoReferenceOrientation);
144 const qreal minimalSize = minimalFontSize().calculatedValue(referenceSize, autoReferenceOrientation);
145 return qMax(normalSize, minimalSize);
146}
147
148#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0) && defined(Q_COMPILER_MANGLES_RETURN_TYPE)
149const

Callers 2

realFontSizeMethod · 0.80
buildLegendMethod · 0.80

Calls 1

calculatedValueMethod · 0.80

Tested by

no test coverage detected