QCAD Application Framework
CAD Application Development and Automation.
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DL_MTextData Struct Reference

MText Data. More...

#include <dl_entities.h>

List of all members.

Public Member Functions

 DL_MTextData (double tipx, double tipy, double tipz, double tHeight, double tWidth, int tAttachmentPoint, int tDrawingDirection, int tLineSpacingStyle, double tLineSpacingFactor, const string &tText, const string &tStyle, double tAngle)
 Constructor.

Public Attributes

double angle
int attachmentPoint
 Attachment point.
int drawingDirection
 Drawing direction.
double height
double ipx
double ipy
double ipz
double lineSpacingFactor
 Line spacing factor.
int lineSpacingStyle
 Line spacing style.
string style
string text
double width

Detailed Description

MText Data.

Author:
Andrew Mustun

Constructor & Destructor Documentation

DL_MTextData::DL_MTextData ( double  tipx,
double  tipy,
double  tipz,
double  tHeight,
double  tWidth,
int  tAttachmentPoint,
int  tDrawingDirection,
int  tLineSpacingStyle,
double  tLineSpacingFactor,
const string &  tText,
const string &  tStyle,
double  tAngle 
)
inline

Constructor.

Parameters: see member variables.


Member Data Documentation

double DL_MTextData::angle

Rotation angle.

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

int DL_MTextData::drawingDirection

Drawing direction.

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

double DL_MTextData::height

Text height

double DL_MTextData::ipx

X Coordinate of insertion point.

double DL_MTextData::ipy

Y Coordinate of insertion point.

double DL_MTextData::ipz

Z Coordinate of insertion point.

double DL_MTextData::lineSpacingFactor

Line spacing factor.

0.25 .. 4.0

int DL_MTextData::lineSpacingStyle

Line spacing style.

1 = at least, 2 = exact

string DL_MTextData::style

Style string.

string DL_MTextData::text

Text string.

double DL_MTextData::width

Width of the text box.


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