Horizon
Public Member Functions | Public Attributes | List of all members
DL_MTextData Struct Reference

MText Data. More...

#include <dl_entities.h>

Public Member Functions

 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)
 Constructor. More...
 

Public Attributes

double ipx
 
double ipy
 
double ipz
 
double dirx
 
double diry
 
double dirz
 
double height
 
double width
 
int attachmentPoint
 Attachment point. More...
 
int drawingDirection
 Drawing direction. More...
 
int lineSpacingStyle
 Line spacing style. More...
 
double lineSpacingFactor
 Line spacing factor. More...
 
std::string text
 
std::string style
 
double angle
 

Detailed Description

MText Data.

Constructor & Destructor Documentation

◆ DL_MTextData()

DL_MTextData::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 
)
inline

Constructor.

Parameters: see member variables.

Member Data Documentation

◆ angle

double DL_MTextData::angle

Rotation angle.

◆ attachmentPoint

int DL_MTextData::attachmentPoint

Attachment point.

1 = Top left, 2 = Top center, 3 = Top right, 4 = Middle left, 5 = Middle center, 6 = Middle right, 7 = Bottom left, 8 = Bottom center, 9 = Bottom right

◆ dirx

double DL_MTextData::dirx

X Coordinate of X direction vector.

◆ diry

double DL_MTextData::diry

Y Coordinate of X direction vector.

◆ dirz

double DL_MTextData::dirz

Z Coordinate of X direction vector.

◆ drawingDirection

int DL_MTextData::drawingDirection

Drawing direction.

1 = left to right, 3 = top to bottom, 5 = by style

◆ height

double DL_MTextData::height

Text height

◆ ipx

double DL_MTextData::ipx

X Coordinate of insertion point.

◆ ipy

double DL_MTextData::ipy

Y Coordinate of insertion point.

◆ ipz

double DL_MTextData::ipz

Z Coordinate of insertion point.

◆ lineSpacingFactor

double DL_MTextData::lineSpacingFactor

Line spacing factor.

0.25 .. 4.0

◆ lineSpacingStyle

int DL_MTextData::lineSpacingStyle

Line spacing style.

1 = at least, 2 = exact

◆ style

std::string DL_MTextData::style

Style string.

◆ text

std::string DL_MTextData::text

Text string.

◆ width

double DL_MTextData::width

Width of the text box.


The documentation for this struct was generated from the following file: