qskinny/src/common/QskGraduation.h

22 lines
580 B
C
Raw Normal View History

2023-11-28 08:55:17 +00:00
/******************************************************************************
2024-01-17 13:31:45 +00:00
* QSkinny - Copyright (C) The authors
2023-11-28 08:55:17 +00:00
* SPDX-License-Identifier: BSD-3-Clause
*****************************************************************************/
#ifndef QSK_GRADUATION_H
#define QSK_GRADUATION_H
#include <QskGlobal.h>
2023-11-28 09:46:03 +00:00
class QskTickmarks;
2023-11-28 08:55:17 +00:00
namespace QskGraduation
{
2023-11-28 12:36:47 +00:00
QSK_EXPORT QskTickmarks divideInterval( qreal x1, qreal x2,
2023-11-28 08:55:17 +00:00
int maxMajorSteps, int maxMinorSteps, qreal stepSize = 0.0 );
2023-11-28 12:36:47 +00:00
QSK_EXPORT qreal stepSize( double length, int numSteps );
2023-11-28 08:55:17 +00:00
}
#endif