API Documentation
Loading...
Searching...
No Matches
MTextData Struct Reference

Stores text data that may have an attachment point and direction for interfacing with CAD. More...

#include <CADEntities.h>

Collaboration diagram for MTextData:
[legend]

Public Member Functions

 MTextData (Vector< 3, fltp08 > insertion_point, Vector< 3, fltp08 > direction, Vector< 2, fltp08 > size, int attachmentPoint, int drawingDirection, int lineSpacingStyle, fltp04 lineSpacingFactor, const String &text, const String &style, Angle< fltp08 > angle)
 

Public Attributes

Angle< fltp08angle
 
int attachment_point
 
Vector< 3, fltp08direction_vector
 
int drawing_direction
 
Vector< 3, fltp08insertion_point
 
fltp04 line_spacing_factor
 
int line_spacing_style
 
String style
 
String text
 
Vector< 2, fltp08text_size
 

Detailed Description

Stores text data that may have an attachment point and direction for interfacing with CAD.


Constructor & Destructor Documentation

◆ MTextData()

MTextData ( Vector< 3, fltp08 > insertion_point,
Vector< 3, fltp08 > direction,
Vector< 2, fltp08 > size,
int attachmentPoint,
int drawingDirection,
int lineSpacingStyle,
fltp04 lineSpacingFactor,
const String & text,
const String & style,
Angle< fltp08 > angle )
inline

Member Data Documentation

◆ angle

Angle<fltp08> angle

◆ attachment_point

int attachment_point

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

◆ direction_vector

Vector<3, fltp08> direction_vector

◆ drawing_direction

int drawing_direction

◆ insertion_point

Vector<3, fltp08> insertion_point

◆ line_spacing_factor

fltp04 line_spacing_factor

◆ line_spacing_style

int line_spacing_style

◆ style

String style

◆ text

String text

◆ text_size

Vector<2, fltp08> text_size

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