/misc/src/release/graphviz-2.18-1/src/graphviz-2.18/lib/dotgen/dotsplines.c File Reference

#include "dot.h"

Include dependency graph for dotsplines.c:

Go to the source code of this file.

Data Structures

struct  spline_info_t

Defines

#define NSUB   9
#define CHUNK   128
#define MINW   16
#define HALFMINW   8
#define FWDEDGE   16
#define BWDEDGE   32
#define MAINGRAPH   64
#define AUXGRAPH   128
#define GRAPHTYPEMASK   192
#define MAKEFWDEDGE(new, old)
#define P2PF(p, pf)   (pf.x = p.x, pf.y = p.y)
#define AVG(a, b)   ((a + b) / 2)
#define GROWEDGES   (edges = ALLOC (n_edges + CHUNK, edges, edge_t*))
#define DONT_WANT_ANY_ENDPOINT_PATH_REFINEMENT
#define FUDGE   4

Functions

int portcmp (port p0, port p1)
void dot_splines (graph_t *g)
point closest (splines *spl, point p)


Define Documentation

#define AUXGRAPH   128

Definition at line 34 of file dotsplines.c.

#define AVG ( a,
 )     ((a + b) / 2)

Definition at line 72 of file dotsplines.c.

#define BWDEDGE   32

Definition at line 31 of file dotsplines.c.

#define CHUNK   128

Definition at line 25 of file dotsplines.c.

#define DONT_WANT_ANY_ENDPOINT_PATH_REFINEMENT

Definition at line 1701 of file dotsplines.c.

#define FUDGE   4

Definition at line 2244 of file dotsplines.c.

#define FWDEDGE   16

Definition at line 30 of file dotsplines.c.

#define GRAPHTYPEMASK   192

Definition at line 35 of file dotsplines.c.

#define GROWEDGES   (edges = ALLOC (n_edges + CHUNK, edges, edge_t*))

Definition at line 110 of file dotsplines.c.

#define HALFMINW   8

Definition at line 28 of file dotsplines.c.

#define MAINGRAPH   64

Definition at line 33 of file dotsplines.c.

#define MAKEFWDEDGE ( new,
old   ) 

Value:

{ \
        edge_t *newp; \
        newp = new; \
        *newp = *old; \
        newp->tail = old->head; \
        newp->head = old->tail; \
        ED_tail_port(newp) = ED_head_port(old); \
        ED_head_port(newp) = ED_tail_port(old); \
        ED_edge_type(newp) = VIRTUAL; \
        ED_to_orig(newp) = old; \
}

Definition at line 37 of file dotsplines.c.

#define MINW   16

Definition at line 27 of file dotsplines.c.

#define NSUB   9

Definition at line 24 of file dotsplines.c.

#define P2PF ( p,
pf   )     (pf.x = p.x, pf.y = p.y)

Definition at line 49 of file dotsplines.c.


Function Documentation

point closest ( splines spl,
point  p 
)

Definition at line 2135 of file dotsplines.c.

References Bezier(), bezier::list, splines::list, NULL, P2PF, PF2P, bezier::size, splines::size, point::x, pointf_s::y, and point::y.

void dot_splines ( graph_t g  ) 

Definition at line 446 of file dotsplines.c.

Referenced by dot_layout().

int portcmp ( port  p0,
port  p1 
)

Definition at line 144 of file dotsplines.c.

References port::defined, FALSE, port::p, point::x, and point::y.


Variable Documentation

attrsym_t* E_constr

Definition at line 650 of file dotsplines.c.

attrsym_t* E_minlen

Definition at line 654 of file dotsplines.c.

attrsym_t* E_samehead

Definition at line 651 of file dotsplines.c.

attrsym_t* E_sametail

Definition at line 652 of file dotsplines.c.

attrsym_t* E_weight

Definition at line 653 of file dotsplines.c.

attrsym_t* N_group

Definition at line 655 of file dotsplines.c.

int State

Definition at line 656 of file dotsplines.c.


Generated on Mon Mar 31 19:05:22 2008 for Graphviz by  doxygen 1.5.1