Re: Text entities classes structure.
Posted by dxli on Apr 14, 2012; 4:50pm
URL: https://forum.librecad.org/Text-entities-classes-structure-tp5640739p5640871.html
Hi Luca,
I agree that the current rs_textdata is good enough to hold data for both rs_text and rs_mtext.
so, you may move rs_textdata definition to a separate header and be included for both. rename the current rs_text to rs_mtext, or make rs_mtext a derived class from the current rs_text.
Also, need to make sure the rs_text and rs_mtext entities are saved/read properly by libdxfrw . LibreCAD saves all rs_text to AcDbMText in dxf currently.
Feel free to choose the best design model based on your own work.
Thanks,
dxli