HC_Set_Text_Path
-
void
HC_Set_Text_Path(double x, double y, double z) - void HC_Set_Text_Path(double x, double y, double z)
Allows you to alter the direction in which text strings run.
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.
HC_Insert_Text, HC_Edit_Text, HC_Set_Text_Font, HC_Set_Text_Spacing.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.