#include "render.h"
#include "agxbuf.h"
Include dependency graph for output.c:
Go to the source code of this file.
Defines | |
#define | YDIR(y) (Y_invert ? (Y_off - (y)) : (y)) |
#define | YFDIR(y) (Y_invert ? (YF_off - (y)) : (y)) |
#define | TAILX 1 |
#define | HEADX 2 |
Functions | |
void | write_plain (GVJ_t *job, graph_t *g, FILE *f, boolean extend) |
void | attach_attrs_and_arrows (graph_t *g, int *sp, int *ep) |
void | attach_attrs (graph_t *g) |
void | output_point (agxbuf *xbuf, pointf p) |
Variables | |
int | Y_off |
double | YF_off |
#define HEADX 2 |
#define TAILX 1 |
Definition at line 20 of file output.c.
Referenced by attach_attrs_and_arrows(), and output_point().
void attach_attrs | ( | graph_t * | g | ) |
void attach_attrs_and_arrows | ( | graph_t * | g, | |
int * | sp, | |||
int * | ep | |||
) |
Definition at line 168 of file output.c.
References agedgeattr(), agfstnode(), agfstout(), agget(), agnodeattr(), agnxtnode(), agnxtout(), agraphattr(), agset(), agxbfree(), agxbinit(), agxbpop(), agxbput(), agxbputc, agxbuse, agxset(), Agproto_t::e, ED_edge_type, ED_head_label, ED_label, ED_spl, ED_tail_label, EDGE_LABEL, GD_has_labels, GD_label, GVSPLINES, HAS_CLUST_EDGE, HEAD_LABEL, IGNORED, Agsym_t::index, isPolygon(), M_PI, Agproto_t::n, N_height, N_vertices, N_width, ND_coord_i, ND_height, ND_ht_i, ND_lw_i, ND_rw_i, ND_shape, ND_shape_info, ND_width, NULL, Agraph_t::proto, safe_dcl(), polygon_t::sides, State, TAIL_LABEL, undoClusterEdges(), polygon_t::vertices, point::x, pointf_s::x, point::y, pointf_s::y, YDIR, and YFDIR.
Referenced by attach_attrs().
Definition at line 314 of file output.c.
References agxbput(), ROUND, pointf_s::x, pointf_s::y, and YDIR.
Referenced by core_loadimage_xdot().
Definition at line 64 of file output.c.
References agcanonical(), agfstnode(), agfstout(), agnxtnode(), agnxtout(), agxget(), Agedge_t::attr, DEFAULT_COLOR, DEFAULT_FILL, E_color, E_style, ED_label, ED_spl, GD_bb, Agedge_t::head, HEADX, Agsym_t::index, IS_CLUST_NODE, late_nnstring(), lbl, bezier::list, N_color, N_fillcolor, N_label, N_style, ND_coord_i, ND_height, ND_label, ND_shape, ND_width, bezier::size, Agedge_t::tail, TAILX, point::x, point::y, and GVJ_s::zoom.