| 1 | #include <config.h> |
|---|
| 2 | |
|---|
| 3 | #ifndef DRAW_H |
|---|
| 4 | #define DRAW_H |
|---|
| 5 | |
|---|
| 6 | #include "utilities.h" |
|---|
| 7 | |
|---|
| 8 | void DR_Dist_To_Root_Pre(t_node *a, t_node *d, t_edge *b, t_tree *tree); |
|---|
| 9 | void DR_Dist_To_Root(t_node *n_root, t_tree *tree); |
|---|
| 10 | void DR_Get_X_Coord_Pre(t_node *a, t_node *d, t_edge *b, tdraw *w, int fixed_tips, t_tree *tree); |
|---|
| 11 | void DR_Get_X_Coord(int fixed_tips, tdraw *w, t_tree *tree); |
|---|
| 12 | tdraw *DR_Make_Tdraw_Struct(t_tree *tree); |
|---|
| 13 | void DR_Init_Tdraw_Struct(tdraw *d); |
|---|
| 14 | void DR_Get_Tree_Box_Width(tdraw *w, t_tree *tree); |
|---|
| 15 | void DR_Get_Y_Coord_Post(t_node *a, t_node *d, t_edge *b, phydbl *next_y_slot, int fixed_tips, tdraw *w, t_tree *tree); |
|---|
| 16 | void DR_Get_Y_Coord(int fixed_tips, tdraw *w, t_tree *tree); |
|---|
| 17 | void DR_Get_Tree_Coord(t_tree *tree); |
|---|
| 18 | phydbl DR_Get_Max_Dist_To_Root(t_tree *tree); |
|---|
| 19 | void DR_Print_Tree_Postscript(int tree_num, int render_name,FILE *fp, t_tree *tree); |
|---|
| 20 | void DR_Print_Tree_Postscript_Pre(t_node *a, t_node *d, int render_name, FILE *fp, tdraw *w, t_tree *tree); |
|---|
| 21 | void DR_Print_Postscript_EOF(FILE *fp); |
|---|
| 22 | void DR_Print_Postscript_Header(int n_pages, FILE *fp); |
|---|
| 23 | void DR_Get_Tree_Coord_Scaled(tdraw *w, t_tree *tree); |
|---|
| 24 | void DR_Get_Cdf_Mat(t_tree *tree); |
|---|
| 25 | void DR_Draw_Tree(char *file_name, t_tree *tree); |
|---|
| 26 | |
|---|
| 27 | |
|---|
| 28 | |
|---|
| 29 | #endif |
|---|