Set_Text_Path

Functions

void Set_Text_Path (double x, double y, double z)
 Allows you to alter the direction in which text strings run. More...
 
void UnSet_Text_Path (void)
 Removes all settings established by a previous call to Set_Text_Path(). More...
 

Detailed Description

Function Documentation

◆ Set_Text_Path()

void Set_Text_Path ( double  x,
double  y,
double  z 
)

Allows you to alter the direction in which text strings run.

Parameters
x- New x-direction to take. 1.0 is the default.
y- New y-direction to take. 0.0 is the default.
z- New z-direction to take. 0.0 is the default.

DETAILS

Text strings, when they are displayed, are normally written from left to right across your screen, and are immune to modelling and viewing transforms. If you really want a string to go at a slant, specify a new Text Path.

The (x, y, z) simply specifies a vector to follow when deciding where to put down the next character. It has no effect on text spacing or character rotation, except that if | arctan y / x | > 45 degrees, the character height rather than the character width is used to determine spacing.

Text Path will work with any font. There is no method implemented yet to change path within the course of a single text string.

NOTES

RESTRICTIONS

See also
Insert_Text, Edit_Text, Set_Text_Font, Set_Text_Spacing.

◆ UnSet_Text_Path()

void UnSet_Text_Path ( void  )

Removes all settings established by a previous call to Set_Text_Path().

DETAILS

No additional details. See Set_Text_Path()