KDChartLayoutItems.cpp File Reference

#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>
Include dependency graph for KDChartLayoutItems.cpp:

Go to the source code of this file.

Defines

#define PI   3.141592653589793

Functions

QPointF rotatedPoint (const QPointF &pt, qreal rotation, const QPointF &center)
QRectF rotatedRect (const QRectF &oldRect, qreal angleInt, const QPointF &center)
static void updateCommonBrush (QBrush &commonBrush, bool &bStart, const KDChart::AbstractArea &area)

Define Documentation

#define PI   3.141592653589793

Definition at line 48 of file KDChartLayoutItems.cpp.


Function Documentation

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]
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Defines

Klarälvdalens Datakonsult AB (KDAB)
Qt-related services and products
http://www.kdab.com/
http://www.kdab.com/products/kd-chart/