ResInsight/ApplicationLibCode/UserInterface/RiuQwtLinearScaleEngine.h

42 lines
1.8 KiB
C
Raw Normal View History

2018-06-28 01:23:16 -05:00
/////////////////////////////////////////////////////////////////////////////////
//
// Copyright (C) 2018- Equinor ASA
//
2018-06-28 01:23:16 -05:00
// ResInsight is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
2018-06-28 01:23:16 -05:00
// ResInsight is distributed in the hope that it will be useful, but WITHOUT ANY
// WARRANTY; without even the implied warranty of MERCHANTABILITY or
// FITNESS FOR A PARTICULAR PURPOSE.
//
// See the GNU General Public License at <http://www.gnu.org/licenses/gpl.html>
2018-06-28 01:23:16 -05:00
// for more details.
//
/////////////////////////////////////////////////////////////////////////////////
#pragma once
#include "qwt_scale_engine.h"
//==================================================================================================
//
//
2018-06-28 01:23:16 -05:00
//
//==================================================================================================
class RiuQwtLinearScaleEngine : public QwtLinearScaleEngine
{
public:
2020-04-21 01:56:27 -05:00
QwtScaleDiv divideScaleWithExplicitIntervals( double tickStart,
double tickEnd,
double majorStepInterval,
double minorStepInterval );
QwtScaleDiv divideScaleWithExplicitIntervalsAndRange( double tickStart,
double tickEnd,
double majorStepInterval,
double minorStepInterval,
double rangeStart,
double rangeEnd );
2018-06-28 01:23:16 -05:00
};