KD Chart 2
[rev.2.7]
|
#include "KDChartLayoutItems.h"
#include "KDTextDocument.h"
#include "KDChartAbstractArea.h"
#include "KDChartAbstractDiagram.h"
#include "KDChartBackgroundAttributes.h"
#include "KDChartFrameAttributes.h"
#include "KDChartPaintContext.h"
#include "KDChartPainterSaver_p.h"
#include "KDChartPrintingParameters.h"
#include <QTextCursor>
#include <QTextBlockFormat>
#include <QTextDocumentFragment>
#include <QAbstractTextDocumentLayout>
#include <QLayout>
#include <QPainter>
#include <QDebug>
#include <QCoreApplication>
#include <QApplication>
#include <QStringList>
#include <QStyle>
#include <KDABLibFakes>
#include <math.h>
Go to the source code of this file.
Functions | |
QRectF | rotatedRect (const QRectF &rect, qreal rotation) |
static void | updateCommonBrush (QBrush &commonBrush, bool &bStart, const KDChart::AbstractArea &area) |
QRectF rotatedRect | ( | const QRectF & | rect, |
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().
|
static |
Definition at line 927 of file KDChartLayoutItems.cpp.
References KDChart::AbstractAreaBase::backgroundAttributes(), KDChart::BackgroundAttributes::BackgroundPixmapModeNone, KDChart::BackgroundAttributes::brush(), KDChart::AbstractAreaBase::frameAttributes(), and KDChart::FrameAttributes::isVisible().
Referenced by KDChart::AutoSpacerLayoutItem::sizeHint().