KD Chart 2
[rev.2.7]
|
#include <QBrush>
#include <QFont>
#include <QFontMetricsF>
#include <QLayout>
#include <QLayoutItem>
#include <QPen>
#include "KDChartTextAttributes.h"
#include "KDChartMarkerAttributes.h"
Go to the source code of this file.
Classes | |
class | KDChart::AbstractLayoutItem |
Base class for all layout items of KD Chart. More... | |
class | KDChart::AutoSpacerLayoutItem |
An empty layout item. More... | |
class | KDChart::HorizontalLineLayoutItem |
Layout item showing a horizontal line. More... | |
class | KDChart::LineLayoutItem |
Layout item showing a coloured line. More... | |
class | KDChart::LineWithMarkerLayoutItem |
Layout item showing a coloured line and a data point marker. More... | |
class | KDChart::MarkerLayoutItem |
Layout item showing a data point marker. More... | |
class | KDChart::TextBubbleLayoutItem |
class | KDChart::TextLayoutItem |
Layout item showing a text. More... | |
class | KDChart::VerticalLineLayoutItem |
Layout item showing a vertial line. More... | |
Namespaces | |
KDChart | |
Functions | |
QT_END_NAMESPACE QRectF | rotatedRect (const QRectF &pt, qreal rotation) |
QT_END_NAMESPACE QRectF rotatedRect | ( | const QRectF & | pt, |
qreal | rotation | ||
) |
Definition at line 329 of file KDChartLayoutItems.cpp.
References KDChart::TextLayoutItem::geometry(), KDChart::TextAttributes::minimalFontSize(), KDChart::TextLayoutItem::realFont(), rotatedRect(), KDChart::TextAttributes::rotation(), and KDChart::Measure::value().
Referenced by fitFontSizeToGeometry(), and rotatedRect().