void tannot_text_fixed3 (strid, string, ref_point, anno_point, char_height, alignment)
Pint strid; char *string; Ppoint3 *ref_point; Ppoint3 *anno_point; Pfloat char_height; Ptext_align *alignment;
typedef enum {
PHOR_NORM,
PHOR_LEFT,
PHOR_CTR,
PHOR_RIGHT
} Phor_text_align;
typedef enum {
PVERT_NORM,
PVERT_TOP,
PVERT_CAP,
PVERT_HALF,
PVERT_BASE,
PVERT_BOTTOM
} Pvert_text_align;
typedef struct {
Phor_text_align hor;
Pvert_text_align vert;
} Ptext_align;
The character height char_height is also defined in [0-1]. The offset between the annotated point anno_point and the reference point ref_point can be visualized calling tset_anno_style function. Character up vector can be set calling tset_anno_char_up_vec function. Text path can be set calling tset_anno_path function.