⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 tabtext.h

📁 linux下一款GIS程序源码
💻 H
字号:
// tabtext.h: interface for the TABText class.////////////////////////////////////////////////////////////////////////#ifndef  TABText_H#define  TABText_H#include "tabfeaturefont.h"#include "tabfeaturepen.h"#include "tabfeature.h"class TABText : 	public TABFeature, 	public TABFeatureFont, 	public TABFeaturePen  {protected:    char        *m_pszString;    double      m_dAngle;    double      m_dHeight;    double      m_dWidth;    double      m_dfLineEndX;    double      m_dfLineEndY;    UGKBool       m_bLineEndSet;    void        UpdateTextMBR();    UGKInt32      m_rgbForeground;    UGKInt32      m_rgbBackground;    UGKInt16      m_nTextAlignment;       // Justification/Vert.Spacing/arrow    UGKInt16      m_nFontStyle;           // Bold/italic/underlined/shadow/...    const char *GetLabelStyleString();public:	TABText(UGKFeatureDefn *poDefnIn);	virtual ~TABText();    virtual TABFeatureClass GetFeatureClass() { return TABFCText; };    virtual int             ValidateMapInfoType(TABMAPFile *poMapFile = NULL);    virtual TABFeature *CloneTABFeature(UGKFeatureDefn *poNewDefn = NULL );    virtual int ReadGeometryFromMAPFile(TABMAPFile *poMapFile, TABMAPObjHdr *);    virtual int WriteGeometryToMAPFile(TABMAPFile *poMapFile, TABMAPObjHdr *);    virtual int ReadGeometryFromMIFFile(MIDDATAFile *fp);    virtual int WriteGeometryToMIFFile(MIDDATAFile *fp);    virtual const char *GetStyleString();	virtual void DumpMIF(FILE *fpOut = NULL);    const char *GetTextString();    double      GetTextAngle();    double      GetTextBoxHeight();    double      GetTextBoxWidth();    UGKInt32      GetFontFGColor();    UGKInt32      GetFontBGColor();    void        GetTextLineEndPoint(double &dX, double &dY);    TABTextJust GetTextJustification();    TABTextSpacing  GetTextSpacing();    TABTextLineType GetTextLineType();    UGKBool       QueryFontStyle(TABFontStyle eStyleToQuery);    void        SetTextString(const char *pszStr);    void        SetTextAngle(double dAngle);    void        SetTextBoxHeight(double dHeight);    void        SetTextBoxWidth(double dWidth);    void        SetFontFGColor(UGKInt32 rgbColor);    void        SetFontBGColor(UGKInt32 rgbColor);    void        SetTextLineEndPoint(double dX, double dY);    void        SetTextJustification(TABTextJust eJust);    void        SetTextSpacing(TABTextSpacing eSpacing);    void        SetTextLineType(TABTextLineType eLineType);    void        ToggleFontStyle(TABFontStyle eStyleToToggle, UGKBool bStatus);    int         GetFontStyleMIFValue();    void        SetFontStyleMIFValue(int nStyle, UGKBool bBGColorSet=FALSE);    UGKBool       IsFontBGColorUsed();    int         GetFontStyleTABValue()           {return m_nFontStyle;};    void        SetFontStyleTABValue(int nStyle){m_nFontStyle=(UGKInt16)nStyle;};};#endif 

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -