Files
Renderive/YSGraphic_Core/Axis/Frequent_Axis.h
T
2026-07-24 10:54:44 +08:00

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