|
| virtual void | calculateBorders () override |
| | 计算坐标范围
|
| |
| virtual DxfEntity * | clone () override |
| | 纯虚函数, 拷贝对象
|
| |
| | DxfHatch (bool solid, double scale, double angle, int filltype, const std::string &pattern) |
| |
| double | getAngle () const |
| |
| HatchPat | getHatchPat () const |
| |
| QList< DxfPatternLine > | getPatternLines () const |
| |
| std::string | getPatternName () const |
| |
| double | getScale () const |
| |
| bool | getShowEdgeLine () |
| |
| bool | getSolid () const |
| |
| void | resetHatchEntities (const std::vector< TechDraw::DxfEntity * > §ionFaces, double xScale=1.0, double yScale=1.0) |
| |
| void | resetHatchLoopEntities (DxfEntityContainer *hatchLoop, const std::vector< TechDraw::DxfEntity * > §ionFaces, double xScale=1.0, double yScale=1.0) |
| |
| virtual void | rotate (const TechDraw::DxfVector ¢er, const double &angle) override |
| | 旋转实体
|
| |
| void | setHatchPat (HatchPat pat) |
| |
| void | setPatternName (const std::string &) |
| |
| void | setPatternPath (DxfPattern *pattern) |
| |
| void | setShowEdgeLine (bool show) |
| |
| virtual void | writeDxf (dxfW *writer) override |
| | 写dxf文件
|
| |
| | ~DxfHatch () |
| |
| void | addEntity (DxfEntity *entity) |
| |
| void | addRectangle (const TechDraw::DxfVector &corner1, const TechDraw::DxfVector &corner2) |
| |
| void | clear () |
| |
| void | cloneEntities (DxfEntityContainer *oldEntity, DxfEntityContainer *newEntity) |
| |
| | DxfEntityContainer () |
| |
| std::vector< DxfEntity * > & | getContainer () |
| |
| const std::vector< DxfEntity * > & | getEntities () |
| |
| virtual void | move (const TechDraw::DxfVector &offset) override |
| | 移动
|
| |
| void | removeAllEntities () |
| |
| void | removeEntity (DxfEntity *) |
| |
| void | sortHatchLoop (std::vector< TechDraw::DxfEntityContainer * > &hatchVec) |
| |
| virtual | ~DxfEntityContainer () |
| |
| | 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 () |
| | 析构函数
|
| |