|
QCAD
Open Source 2D CAD
|
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. | |
Public Attributes | |
| double | angle |
| int | attachmentPoint |
| Attachment point. | |
| double | dirx |
| double | diry |
| double | dirz |
| int | drawingDirection |
| Drawing direction. | |
| double | height |
| double | ipx |
| double | ipy |
| double | ipz |
| double | lineSpacingFactor |
| Line spacing factor. | |
| int | lineSpacingStyle |
| Line spacing style. | |
| std::string | style |
| std::string | text |
| double | width |
MText Data.
|
inline |
Constructor.
Parameters: see member variables.
| 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
| double DL_MTextData::dirx |
X Coordinate of X direction vector.
| double DL_MTextData::diry |
Y Coordinate of X direction vector.
| double DL_MTextData::dirz |
Z Coordinate of X direction vector.
| 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
| std::string DL_MTextData::style |
Style string.
| std::string DL_MTextData::text |
Text string.
| double DL_MTextData::width |
Width of the text box.