Re: Text entities classes structure.
Posted by
gnagno91 on
Apr 15, 2012; 6:56pm
URL: https://forum.librecad.org/Text-entities-classes-structure-tp5640739p5642298.html
Hi!
I agree with you about the classes. Just two things:
-woudn't be better if we use rs_stext for the single line (the new one) and rs_mtext for the old one?
-in the structure you propose to me rs_mtext and rs_text are subclasses of rs_textdata? because I thought to create a rs_textdata.h file with the general rs_texdata class and then I created other classes in rs_text.h called rs_stextdata and in rs_mtext.h called rs_mtextdata. I upload the files just to be more clear.
BR
Luca
rs_mtext.hrs_textdata.hrs_text.h