File indexing completed on 2025-01-26 03:34:06

0001 /*
0002     File                 : CartesianCoordinateSystemPrivate.h
0003     Project              : LabPlot
0004     Description          : Cartesian coordinate system for plots.
0005     --------------------------------------------------------------------
0006     SPDX-FileCopyrightText: 2012-2016 Alexander Semke <alexander.semke@web.de>
0007     SPDX-FileCopyrightText: 2020 Stefan Gerlach <stefan.gerlach@uni.kn>
0008 
0009     SPDX-License-Identifier: GPL-2.0-or-later
0010 */
0011 
0012 #ifndef CARTESIANCOORDINATESYSTEMPRIVATE_H
0013 #define CARTESIANCOORDINATESYSTEMPRIVATE_H
0014 
0015 class CartesianCoordinateSystemPrivate {
0016 public:
0017     explicit CartesianCoordinateSystemPrivate(CartesianCoordinateSystem* owner);
0018     ~CartesianCoordinateSystemPrivate();
0019 
0020     CartesianCoordinateSystem* const q;
0021     CartesianPlot* plot{nullptr};
0022     QVector<CartesianScale*> xScales;
0023     QVector<CartesianScale*> yScales;
0024     int xIndex{0}, yIndex{0}; // indices of x/y plot ranges used here
0025 };
0026 
0027 #endif