File indexing completed on 2024-12-22 04:17:25
0001 /*************************************************************************** 0002 * * 0003 * copyright : (C) 2007 The University of Toronto * 0004 * netterfield@astro.utoronto.ca * 0005 * * 0006 * This program is free software; you can redistribute it and/or modify * 0007 * it under the terms of the GNU General Public License as published by * 0008 * the Free Software Foundation; either version 2 of the License, or * 0009 * (at your option) any later version. * 0010 * * 0011 ***************************************************************************/ 0012 0013 #ifndef AXIS_H 0014 #define AXIS_H 0015 0016 #include <QtGlobal> 0017 0018 namespace Kst { 0019 0020 // A representation of a plot axis. This has nothing to do with the way the 0021 // axis is drawn - only the properties of it. 0022 class Axis { 0023 public: 0024 Axis(); 0025 ~Axis(); 0026 0027 bool reversed; 0028 bool isLog; 0029 qreal logBase; 0030 }; 0031 0032 0033 // A representation of a style used to render an axis. 0034 class AxisStyle { 0035 public: 0036 AxisStyle(); 0037 ~AxisStyle(); 0038 0039 bool showMinorTicks; 0040 bool showMajorTicks; 0041 qreal minorTickWidth; 0042 qreal majorTickWidth; 0043 }; 0044 0045 } 0046 0047 #endif 0048 0049 // vim: ts=2 sw=2 et