Hi people. Can someone describe me how the DL_MTextData actually works?
DL_MTextData(double ipx, double ipy, double ipz,
double dirx, double diry, double dirz,
double height, double width,
int attachmentPoint,
int drawingDirection,
int lineSpacingStyle,
double lineSpacingFactor,
const std::string& text,
const std::string& style,
double angle) :
My guess is that it takes attachmentPoint (let’s say TOP-LEFT) and
sets the TOP-LEFT point of the text to be (ipx, ipy, ipz). Then the text is scaled
to the (width, height) size and then rotated by angle. I might be thinking
wrong, because I don’t understand how (dirx,diry,dirz) fit here.
So can someone explain me how this text is generated?