25 lines
692 B
C++
25 lines
692 B
C++
#pragma once
|
|
#include "Axis.h"
|
|
namespace YSG {
|
|
struct Frequent_Axis_Private;
|
|
/// 频率轴,负责频率单位显示。
|
|
class LIB_DECL Frequent_Axis : public Axis {
|
|
public:
|
|
/// 返回私有渲染数据。
|
|
Frequent_Axis_Private* d();
|
|
Render_Data* create_render_data() override;
|
|
Render_State* create_render_state() override;
|
|
Input_Data* create_input_data() override;
|
|
protected:
|
|
Frequent_Axis();
|
|
public:
|
|
struct Builder;
|
|
};
|
|
struct LIB_DECL Frequent_Axis::Builder : BuilderT<Builder> {
|
|
/// 创建频率轴构造器。
|
|
Builder(Plot* plot, Qt::Orientation orientation);
|
|
/// 构建并返回频率轴对象。
|
|
Frequent_Axis* build();
|
|
};
|
|
} // namespace YSG
|