This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
#pragma once
#include "ZxSubAxisBase.h"
// 坐标轴X
class I_PLOTBASE_EXPORT ZxSubAxisX : public ZxSubAxisBase
{
Q_OBJECT
ZX_DECLARE_DYNAMIC
public:
ZxSubAxisX();
ZxSubAxisX(const QString& name);
ZxSubAxisX(const ZxSubAxisX & c);
virtual void paintBack(QPainter* painter, const ZxPaintParam& param);
// 坐标数值转换(屏幕坐标与实际坐标)
// 注意:Value表示实际坐标、Pos表示屏幕坐标
// getValueForPos: 已知屏幕坐标,求实际坐标
// getPosForValue: 已知实际坐标,求屏幕坐标
virtual double getValueForPos(double dPos) const;
virtual double getPosForValue(double dVal) const;
};