xgraphlogaxis.h
来自「Displaying large amounts of technical da」· C头文件 代码 · 共 32 行
H
32 行
#pragma once
#include "xgraphaxis.h"
#ifdef _AFXDLLclass __declspec(dllexport) CXGraphLogAxis : public CXGraphAxis#else
class __declspec(dllimport) CXGraphLogAxis : public CXGraphAxis
#endif
{
DECLARE_SERIAL(CXGraphLogAxis)
public:
CXGraphLogAxis(void);
CXGraphLogAxis(const CXGraphLogAxis& copy);
~CXGraphLogAxis(void);
// Attribute
enum EAxisType {LOG, LINEAR};
private:
EAxisType m_AxisType;
// Operation
public:
bool SetRange(double fMin, double fMax);
void AutoScale(CDCEx* pDC);
void Draw(CDCEx* pDC);
double GetValueForPos(int nPos);
CPoint GetPointForValue(TDataPoint* point);
void SetAxisType(EAxisType type){m_AxisType = type;};
CXGraphLogAxis& operator = (const CXGraphLogAxis& copy);
};
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?