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 
15 namespace 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  virtual ~PolarGrid() {}
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
void drawGrid(PaintContext *context) override
Doing the actual drawing.
Stores information about painting diagrams.
Global namespace.
Abstract base class for grid classes: cartesian, polar, ...
Class for the grid in a polar plane.
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Sun Aug 1 2021 22:36:44 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.