KChart

KChartPolarGrid.h
1/*
2 * SPDX-FileCopyrightText: 2001-2015 Klaralvdalens Datakonsult AB. All rights reserved.
3 *
4 * This file is part of the KD Chart library.
5 *
6 * SPDX-License-Identifier: GPL-2.0-or-later
7 */
8
9#ifndef KCHARTPOLARGrid_H
10#define KCHARTPOLARGrid_H
11
12#include "KChartPolarCoordinatePlane.h"
13#include "KChartAbstractGrid.h"
14
15namespace KChart {
16
17 class PaintContext;
18 class PolarCoordinatePlane;
19
20 /**
21 * \internal
22 *
23 * \brief Class for the grid in a polar plane.
24 *
25 * The PolarGrid interface is used
26 * for calculating and for drawing
27 * the sagittal grid lines, and the circular grid lines
28 * of a polar coordinate plane.
29 */
30 class PolarGrid : public AbstractGrid
31 {
32 public:
33 PolarGrid() : AbstractGrid() {}
34 ~PolarGrid() override {}
35
36 void drawGrid( PaintContext* context ) override;
37
38 private:
39 DataDimensionsList calculateGrid(
40 const DataDimensionsList& rawDataDimensions ) const override;
41 };
42
43}
44
45#endif
Abstract base class for grid classes: cartesian, polar, ...
Stores information about painting diagrams.
Class for the grid in a polar plane.
void drawGrid(PaintContext *context) override
Doing the actual drawing.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:14:24 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.