KD Chart API Documentation 3.1
|
#include "KDChartRadarGrid.h"
#include "KDChartPaintContext.h"
#include "KDChartPieDiagram.h"
#include "KDChartPrintingParameters.h"
#include "KDChartRadarDiagram.h"
#include <QPainter>
#include <KDABLibFakes>
Go to the source code of this file.
Functions | |
static qreal | fitFontSizeToGeometry (const QString &text, const QFont &font, const QRectF &geometry, const TextAttributes &ta) |
QPointF | scaleToRealPosition (const QPointF &origin, const QRectF &sourceRect, const QRectF &destRect, const AbstractCoordinatePlane &plane) |
QPointF | scaleToRect (const QPointF &origin, const QRectF &sourceRect, const QRectF &destRect) |
|
static |
Definition at line 36 of file KDChartRadarGrid.cpp.
References QFontMetrics::boundingRect(), QSizeF::height(), QSizeF::isNull(), QRectF::normalized(), QFont::pointSizeF(), rotatedRect(), KDChart::TextAttributes::rotation(), QFont::setPointSizeF(), QRectF::size(), and QSizeF::width().
QPointF scaleToRealPosition | ( | const QPointF & | origin, |
const QRectF & | sourceRect, | ||
const QRectF & | destRect, | ||
const AbstractCoordinatePlane & | plane | ||
) |
Definition at line 61 of file KDChartRadarGrid.cpp.
References QRectF::height(), QPointF::setX(), QPointF::setY(), QRectF::topLeft(), KDChart::AbstractCoordinatePlane::translate(), QRectF::width(), QPointF::x(), and QPointF::y().
Definition at line 71 of file KDChartRadarGrid.cpp.
References QRectF::height(), QPointF::setX(), QPointF::setY(), QRectF::topLeft(), QRectF::width(), QPointF::x(), and QPointF::y().
Referenced by KDChart::RadarGrid::drawGrid().