diff --git a/include/dwg.h b/include/dwg.h index c7b485b95..7ac63f88c 100644 --- a/include/dwg.h +++ b/include/dwg.h @@ -4910,6 +4910,8 @@ typedef struct _dwg_entity_GEOPOSITIONMARKER BITCODE_RC text_alignment; /*!< DXF 70 0 left, 1 center, 2 right */ BITCODE_B mtext_visible; /*!< DXF 290 */ BITCODE_B enable_frame_text; /*!< DXF 290 */ + BITCODE_3BD ins_pt; /* DXF only, = position */ + BITCODE_2RD alignment_pt; /* DXF only */ Dwg_AcDbMTextObjectEmbedded mtext; BITCODE_B is_really_locked; /*mtext_type > 1) + if (_obj->enable_frame_text) { - if (!dwg_dynapi_entity_value (attrib, "ATTRIB", "mtext", &mtext, NULL)) - fail ("ATTRIB.mtext"); + if (!dwg_dynapi_entity_value (_obj, "GEOPOSITIONMARKER", "mtext", &mtext, NULL)) + fail ("GEOPOSITIONMARKER.mtext"); else { CHK_SUBCLASS_TYPE (mtext, AcDbMTextObjectEmbedded, attachment, BS); - CHK_SUBCLASS_3RD (mtext, AcDbMTextObjectEmbedded, ins_pt); + // CHK_SUBCLASS_3RD (mtext, AcDbMTextObjectEmbedded, ins_pt); CHK_SUBCLASS_3RD (mtext, AcDbMTextObjectEmbedded, x_axis_dir); CHK_SUBCLASS_TYPE (mtext, AcDbMTextObjectEmbedded, rect_height, BD); CHK_SUBCLASS_TYPE (mtext, AcDbMTextObjectEmbedded, rect_width, BD);