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

Method titleTextAttributes

src/KDChart/Cartesian/KDChartCartesianAxis.cpp:432–442  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

430}
431
432TextAttributes CartesianAxis::titleTextAttributes() const
433{
434 if (hasDefaultTitleTextAttributes()) {
435 TextAttributes ta(textAttributes());
436 Measure me(ta.fontSize());
437 me.setValue(me.value() * 1.5);
438 ta.setFontSize(me);
439 return ta;
440 }
441 return d->titleTextAttributes;
442}
443
444void CartesianAxis::resetTitleTextAttributes()
445{

Callers 1

compareMethod · 0.45

Calls 3

fontSizeMethod · 0.80
valueMethod · 0.80
setFontSizeMethod · 0.80

Tested by

no test coverage detected