You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

40 lines
946 B
C++

This file contains ambiguous Unicode characters!

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 "DrawOperator/GDFLOGFONT.h"
#include "DrawOperator/GDFLOGPEN.h"
namespace NGraph
{
class AFX_EXT_CLASS GDFLOGPENEXT :public GDFLOGPEN
{
public:
GDFLOGPENEXT();
GDFLOGPENEXT(const GDFLOGPENEXT& data);
virtual ~GDFLOGPENEXT();
virtual GDFLOGPENEXT& operator=(const GDFLOGPENEXT& data);
virtual void Serialize(CArchive&ar, const short& ver);
public:
CHowToViewCurve *m_pHowToViewCurve; //井模块中图元一般没有图层概念,因此将修饰放在这个地方 ggff
int m_nStyle;
};
class AFX_EXT_CLASS GDFLOGFONTEXT : public GDFLOGFONT
{
public:
GDFLOGFONTEXT();
~GDFLOGFONTEXT();
virtual GDFLOGFONTEXT& operator=(const GDFLOGFONTEXT& data);
virtual void Serialize(CArchive&ar, const short& ver);
virtual void WritePCGFont(CFile &fw, const short& ver, int nBaseTabNum, CString str);
public:
LOGFONT m_logFont;
double m_dTextSpace; //字间距
int m_nScript; //显示方式: 0常规1上标2下标
};
}