/misc/src/release/graphviz-2.18-1/src/graphviz-2.18/lib/common/output.c File Reference

#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 Documentation

#define HEADX   2

Definition at line 60 of file output.c.

Referenced by agwredge(), and write_plain().

#define TAILX   1

Definition at line 59 of file output.c.

Referenced by agwredge(), and write_plain().

#define YDIR (  )     (Y_invert ? (Y_off - (y)) : (y))

Definition at line 20 of file output.c.

Referenced by attach_attrs_and_arrows(), and output_point().

#define YFDIR (  )     (Y_invert ? (YF_off - (y)) : (y))

Definition at line 21 of file output.c.

Referenced by attach_attrs_and_arrows().


Function Documentation

void attach_attrs ( graph_t g  ) 

Definition at line 308 of file output.c.

References attach_attrs_and_arrows().

Referenced by main(), and render().

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().

void output_point ( agxbuf xbuf,
pointf  p 
)

Definition at line 314 of file output.c.

References agxbput(), ROUND, pointf_s::x, pointf_s::y, and YDIR.

Referenced by core_loadimage_xdot().

void write_plain ( GVJ_t job,
graph_t g,
FILE *  f,
boolean  extend 
)

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.


Variable Documentation

int Y_off

Definition at line 23 of file output.c.

double YF_off

Definition at line 24 of file output.c.


Generated on Mon Mar 31 19:04:48 2008 for Graphviz by  doxygen 1.5.1