|
BIMHome v1.0.0
BIMHome接口文档说明
|
TechDraw中DxfMText类 更多...
#include <DxfEntity.h>
Public 成员函数 | |
| virtual void | calculateBorders () override |
| 计算坐标范围 | |
| virtual DxfEntity * | clone () override |
| 纯虚函数, 拷贝对象 | |
| DxfMText (const DxfVector &insertionPoint, double height, double width, VAlign valign, HAlign halign, MTextDrawingDirection drawingDirection, MTextLineSpacingStyle lineSpacingStyle, double lineSpacingFactor, const std::string &text, const std::string &font, const std::string &style, double angle) | |
| double | getAngle () const |
| 返回角度 | |
| bool | getBackward () const |
| bool | getBold () const |
| bool | getDimension () const |
| const std::string & | getFont () |
| 返回样式 | |
| HAlign | getHAlign () |
| 返回水平对齐 | |
| double | getHeight () |
| 返回高度 | |
| TechDraw::DxfVector | getInsertionPoint () const |
| 返回插入点 | |
| bool | getItalic () const |
| double | getLineSpacingFactor () |
| 返回行距系数 | |
| MTextDrawingDirection | getMTextDrawingDirection () |
| 返回拉伸方向 | |
| MTextLineSpacingStyle | getMTextLineSpacingStyle () |
| 返回行距样式 | |
| const std::string & | getStyle () |
| 返回样式 | |
| const std::string & | getText () |
| 返回文字 | |
| bool | getUpsideDown () const |
| double | getUsedTextHeight () const |
| double | getUsedTextWidth () const |
| VAlign | getVAlign () |
| 返回垂直对齐 | |
| double | getWidth () |
| 返回宽度 | |
| double | getWidthFactor () |
| virtual void | move (const TechDraw::DxfVector &offset) override |
| 移动 | |
| virtual void | rotate (const TechDraw::DxfVector ¢er, const double &angle) override |
| 旋转实体 | |
| void | setAmplify (const double times) |
| void | setAngle (const double &angle) |
| void | setFont (const std::string fontFamily) |
| void | setHeight (double h) |
| void | setInsectionPoint (const TechDraw::DxfVector &point) |
| void | setScale (double scale) |
| void | setStyle (const std::string &style) |
| void | setText (const std::string &) |
| void | setWidthFactor (double factor) |
| virtual void | writeDxf (dxfW *writer) override |
| 写dxf文件 | |
| ~DxfMText () | |
Public 成员函数 继承自 DxfEntity | |
| DxfEntity () | |
| 构造函数 | |
| double | getArrowSize () const |
| DxfAttribute | getAttribute () const |
| 返回属性 | |
| virtual double | getBulge () const |
| int | getDimensionLineColor () const |
| double | getDimensionLineGap () const |
| int | getDimensionLineWidth () const |
| virtual DxfVector | getEndPoint () const |
| 第二个点坐标 | |
| long | getEntityId () const |
| std::string | getEntityLayoutId () const |
| @ return Entity的layout Id | |
| std::string | getEntityUuid () const |
| int | getExtensionLineColor () const |
| double | getExtensionLineExtension () const |
| double | getExtensionLineOffset () const |
| int | getExtensionLineWidth () const |
| double | getFixedLength () const |
| bool | getFixedLengthOn () const |
| double | getGeneralFactor () const |
| double | getGeneralScale () const |
| bool | getInsideHorizontalText () const |
| const TechDraw::DxfVector & | getMaxVector () |
| 实体坐标范围的最大值 | |
| virtual DxfVector | getMiddlePoint () const |
| 中心点坐标 | |
| const TechDraw::DxfVector & | getMinVector () |
| 实体坐标范围的最小值 | |
| const TechDraw::DxfVector & | getSize () |
| 实体坐标范围的大小 | |
| virtual DxfVector | getStartPoint () const |
| 第一个点坐标 | |
| int | getTextColor () const |
| double | getTextHeight () const |
| std::string | getTextStyle () |
| double | getTickSize () const |
| DxfEntityType | getType () const |
| 实体类型枚举值 | |
| void | resetBorders () |
| void | setAttribute (const DxfAttribute &attr) |
| 保存属性 | |
| void | setAttribute (DRW_Entity &data) |
| 保存属性 | |
| void | setEntityLayoutId (const std::string &id) |
| @ 设置Entity的layout Id | |
| void | setHeaderInfo (TechDraw::DxfHeader *) |
| 头信息指针设置,后面可以读取头信息中的一些数据 | |
| void | setLayer (const std::string &name) |
| 设置图层 | |
| void | setLayer (DxfLayer *l) |
| 设置图层 | |
| void | setVersion (int version) |
| 设置dxf版本号 | |
| virtual | ~DxfEntity () |
| 析构函数 | |
Private 属性 | |
| double | m_Amplify |
| double | m_Angle |
| 旋转角度 | |
| bool | m_Backward |
| bool | m_Bold |
| bool | m_Dimension |
| std::string | m_Font |
| 字体样式名称 | |
| TechDraw::HAlign | m_HAlign |
| 水平对齐 | |
| double | m_Height |
| 标称(初始)文字高度 | |
| double | m_HeightInDxf |
| DxfVector | m_InsertionPoint |
| 插入点 | |
| bool | m_Italic |
| double | m_LineSpacingFactor |
| 行距系数 | |
| TechDraw::MTextDrawingDirection | m_MTextDrawingDirection |
| 拉伸方向 | |
| TechDraw::MTextLineSpacingStyle | m_MTextLineSpacingStyle |
| 行距样式 | |
| double | m_Scale |
| std::string | m_Style |
| 文本样式名称 | |
| std::string | m_Text |
| 文本字符串 | |
| bool | m_UpsideDown |
| double | m_UsedTextHeight |
| Text height used by the current contents of this text entity. | |
| double | m_UsedTextWidth |
| 此文本实体的当前内容所使用的文本宽度。 此属性由update方法更新。 | |
| TechDraw::VAlign | m_VAlign |
| 垂直对齐 | |
| double | m_Width |
| 参考矩形宽度 | |
| double | m_WidthFactor |
额外继承的成员函数 | |
Protected 属性 继承自 DxfEntity | |
| DxfAttribute | m_Attribute |
| 属性 | |
| long | m_EntityId |
| std::string | m_EntityParentId |
| std::string | m_EntityUuid |
| TechDraw::DxfHeader * | m_Header |
| TechDraw::DxfVector | m_MaxV |
| maximum coordinates | |
| TechDraw::DxfVector | m_MinV |
| minimum coordinates | |
| DxfEntityType | m_Type |
| 类型 | |
| int | m_Version |
| 版本号 | |
TechDraw中DxfMText类
MText类