Collaboration diagram for Display Lists:
![]() |
Files | |
file | font.c |
Functions | |
void | bn_vlist_3string (struct bu_list *vhead, struct bu_list *free_hd, const char *string, const vect_t origin, const mat_t rot, double scale) |
Convert a string to a vlist. | |
void | bn_vlist_2string (struct bu_list *vhead, struct bu_list *free_hd, const char *string, double x, double y, double scale, double theta) |
Convert string to vlist in 2D. |
|
Convert a string to a vlist. B N _ V L I S T _ 3 S T R I N G 'scale' is the width, in mm, of one character.
Definition at line 75 of file font.c. References BN_ADD_VLIST, bn_mat_mul(), BN_VLIST_LINE_DRAW, BN_VLIST_LINE_MOVE, LAST, MAT4X3PNT, MAT_DELTAS, MAT_IDN, NEGY, NULL, TINY, tp_cindex, tp_setup(), VSET, X, Y, and Z. Referenced by bn_vlist_2string(), nmg_vlblock_euleft(), nmg_vlblock_v(), rt_label_vlist_verts(), and rt_process_uplot_value(). Here is the call graph for this function: ![]() |
|
Convert string to vlist in 2D. B N _ V L I S T _ 2 S T R I N G A simpler interface, for those cases where the text lies in the X-Y plane.
Definition at line 170 of file font.c. References bn_mat_angles(), bn_vlist_3string(), and VSET. Here is the call graph for this function: ![]() |