#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.
Defines | |
#define | PI 3.141592653589793 |
Functions | |
QPointF | rotatedPoint (const QPointF &pt, qreal rotation, const QPointF ¢er) |
QRectF | rotatedRect (const QRectF &oldRect, qreal angleInt, const QPointF ¢er) |
static void | updateCommonBrush (QBrush &commonBrush, bool &bStart, const KDChart::AbstractArea &area) |
#define PI 3.141592653589793 |
Definition at line 48 of file KDChartLayoutItems.cpp.
QPointF rotatedPoint | ( | const QPointF & | pt, | |
qreal | rotation, | |||
const QPointF & | center | |||
) |
Definition at line 331 of file KDChartLayoutItems.cpp.
References PI.
QRectF rotatedRect | ( | const QRectF & | oldRect, | |
qreal | angleInt, | |||
const QPointF & | center | |||
) |
Definition at line 342 of file KDChartLayoutItems.cpp.
References PI.
Referenced by KDChart::TextLayoutItem::paint().
static void updateCommonBrush | ( | QBrush & | commonBrush, | |
bool & | bStart, | |||
const KDChart::AbstractArea & | area | |||
) | [static] |
Definition at line 1049 of file KDChartLayoutItems.cpp.
References KDChart::AbstractAreaBase::backgroundAttributes(), KDChart::BackgroundAttributes::BackgroundPixmapModeNone, KDChart::AbstractAreaBase::frameAttributes(), and KDChart::FrameAttributes::isVisible().
Referenced by KDChart::AutoSpacerLayoutItem::sizeHint().