KD Chart 2
[rev.2.7]
|
#include <QDebug>
#include <QPainter>
#include <QStack>
#include "KDChartPieDiagram.h"
#include "KDChartPieDiagram_p.h"
#include "KDChartPaintContext.h"
#include "KDChartPieAttributes.h"
#include "KDChartPolarCoordinatePlane_p.h"
#include "KDChartThreeDPieAttributes.h"
#include "KDChartPainterSaver_p.h"
#include <KDABLibFakes>
Go to the source code of this file.
Macros | |
#define | d d_func() |
Functions | |
static bool | doArcsOverlap (qreal a1Start, qreal a1End, qreal a2Start, qreal a2End) |
static bool | doSpansOverlap (qreal s1Start, qreal s1End, qreal s2Start, qreal s2End) |
static QLineF | labelAttachmentLine (const QPointF ¢er, const QPointF &start, const QPainterPath &label) |
static qreal | normProjection (const QLineF &l1, const QLineF &l2) |
static QPolygonF | polygonFromPainterPath (const QPainterPath &pp) |
static int | wraparound (int i, int size) |
#define d d_func() |
Definition at line 49 of file KDChartPieDiagram.cpp.
Referenced by KDChart::PieDiagram::clone(), doArcsOverlap(), KDChart::PieDiagram::isLabelCollisionAvoidanceEnabled(), labelAttachmentLine(), KDChart::PieDiagram::labelDecorations(), KDChart::PieDiagram::paint(), KDChart::PieDiagram::setLabelCollisionAvoidanceEnabled(), KDChart::PieDiagram::setLabelDecorations(), and wraparound().
|
static |
Definition at line 701 of file KDChartPieDiagram.cpp.
References KDChart::AbstractDiagram::brush(), d, KDChart::AbstractThreeDAttributes::depth(), doSpansOverlap(), KDChart::AbstractPieDiagram::granularity(), KDChart::AbstractThreeDAttributes::isEnabled(), KDChart::AbstractPieDiagram::threeDPieAttributes(), and KDChart::ThreeDPieAttributes::useShadowColors().
|
static |
Definition at line 692 of file KDChartPieDiagram.cpp.
Referenced by doArcsOverlap().
|
static |
Definition at line 385 of file KDChartPieDiagram.cpp.
References KDChart::AbstractPieDiagram::autoRotateLabels(), KDChart::AbstractDiagram::brush(), KDChart::Position::Center, KDChart::AbstractDiagram::checkInvariants(), KDChart::AbstractPolarDiagram::columnCount(), d, KDChart::PieAttributes::explode(), KDChart::PieAttributes::explodeFactor(), KDChart::PieDiagram::FrameDecoration, KDChart::AbstractPieDiagram::granularity(), KDChart::AbstractThreeDAttributes::isEnabled(), KDChart::PieDiagram::LineFromSliceDecoration, normProjection(), KDChart::PaintContext::painter(), KDChart::AbstractDiagram::pen(), KDChart::AbstractPieDiagram::pieAttributes(), polygonFromPainterPath(), KDChartEnums::PositionCenter, KDChartEnums::PositionEast, KDChartEnums::PositionNorth, KDChartEnums::PositionNorthEast, KDChartEnums::PositionNorthWest, KDChartEnums::PositionWest, KDChart::PaintContext::rectangle(), KDChart::AbstractPolarDiagram::rowCount(), KDChart::PositionPoints::setDegrees(), KDChart::AbstractThreeDAttributes::threeDBrush(), KDChart::AbstractPieDiagram::threeDPieAttributes(), KDChart::PieDiagram::valueTotals(), and wraparound().
|
static |
Definition at line 379 of file KDChartPieDiagram.cpp.
Referenced by labelAttachmentLine().
|
static |
Definition at line 367 of file KDChartPieDiagram.cpp.
Referenced by labelAttachmentLine().
|
static |
Definition at line 293 of file KDChartPieDiagram.cpp.
References d, and KDChart::TextAttributes::setPen().
Referenced by labelAttachmentLine().