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

Text Data. More...

#include <dl_entities.h>

Inheritance diagram for DL_TextData:
DL_AttributeData

Public Member Functions

 DL_TextData (double ipx, double ipy, double ipz, double apx, double apy, double apz, double height, double xScaleFactor, int textGenerationFlags, int hJustification, int vJustification, const std::string &text, const std::string &style, double angle)
 Constructor. More...
 

Public Attributes

double ipx
 
double ipy
 
double ipz
 
double apx
 
double apy
 
double apz
 
double height
 
double xScaleFactor
 
int textGenerationFlags
 
int hJustification
 Horizontal justification. More...
 
int vJustification
 Vertical justification. More...
 
std::string text
 
std::string style
 
double angle
 

Detailed Description

Text Data.

Constructor & Destructor Documentation

◆ DL_TextData()

DL_TextData::DL_TextData ( double  ipx,
double  ipy,
double  ipz,
double  apx,
double  apy,
double  apz,
double  height,
double  xScaleFactor,
int  textGenerationFlags,
int  hJustification,
int  vJustification,
const std::string &  text,
const std::string &  style,
double  angle 
)
inline

Constructor.

Parameters: see member variables.

Member Data Documentation

◆ angle

double DL_TextData::angle

Rotation angle of dimension text away from default orientation.

◆ apx

double DL_TextData::apx

X Coordinate of alignment point.

◆ apy

double DL_TextData::apy

Y Coordinate of alignment point.

◆ apz

double DL_TextData::apz

Z Coordinate of alignment point.

◆ height

double DL_TextData::height

Text height

◆ hJustification

int DL_TextData::hJustification

Horizontal justification.

0 = Left (default), 1 = Center, 2 = Right, 3 = Aligned, 4 = Middle, 5 = Fit For 3, 4, 5 the vertical alignment has to be 0.

◆ ipx

double DL_TextData::ipx

X Coordinate of insertion point.

◆ ipy

double DL_TextData::ipy

Y Coordinate of insertion point.

◆ ipz

double DL_TextData::ipz

Z Coordinate of insertion point.

◆ style

std::string DL_TextData::style

Style (font).

◆ text

std::string DL_TextData::text

Text string.

◆ textGenerationFlags

int DL_TextData::textGenerationFlags

0 = default, 2 = Backwards, 4 = Upside down

◆ vJustification

int DL_TextData::vJustification

Vertical justification.

0 = Baseline (default), 1 = Bottom, 2 = Middle, 3= Top

◆ xScaleFactor

double DL_TextData::xScaleFactor

Relative X scale factor.


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