/misc/src/release/graphviz-2.18-1/src/graphviz-2.18/lib/common/macros.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define NOTUSED(var)   (void) var
#define isPinned(n)   (ND_pinned(n) == P_PIN)
#define hasPos(n)   (ND_pinned(n) > 0)
#define isFixed(n)   (ND_pinned(n) > P_SET)
#define SET_CLUST_NODE(n)   (ND_clustnode(n) = TRUE)
#define IS_CLUST_NODE(n)   (ND_clustnode(n))
#define HAS_CLUST_EDGE(g)   (GD_flags(g) & 1)
#define SET_CLUST_EDGE(g)   (GD_flags(g) |= 1)
#define EDGE_TYPE(g)   (GD_flags(g) & (7 << 1))
#define SET_RANKDIR(g, rd)   ((g)->u.rankdir = (rd))
#define streq(a, b)   (*(a)==*(b)&&!strcmp(a,b))
#define XPAD(d)   ((d).x += 4*GAP)
#define YPAD(d)   ((d).y += 2*GAP)
#define PAD(d)   {XPAD(d); YPAD(d);}
#define OTHERDIR(dir)   ((dir == CCW) ? CW : CCW)
#define NEXTSIDE(side, dir)


Define Documentation

#define EDGE_TYPE (  )     (GD_flags(g) & (7 << 1))

Definition at line 32 of file macros.h.

Referenced by fdp_layout(), and spline_edges0().

#define HAS_CLUST_EDGE (  )     (GD_flags(g) & 1)

Definition at line 30 of file macros.h.

Referenced by attach_attrs_and_arrows().

#define hasPos (  )     (ND_pinned(n) > 0)

Definition at line 25 of file macros.h.

Referenced by init_nop(), initial_positions(), and initLayout().

#define IS_CLUST_NODE (  )     (ND_clustnode(n))

Definition at line 29 of file macros.h.

Referenced by processClusterEdges(), and write_plain().

#define isFixed (  )     (ND_pinned(n) > P_SET)

Definition at line 26 of file macros.h.

Referenced by initLayout(), and stress_majorization_kD_mkernel().

#define isPinned (  )     (ND_pinned(n) == P_PIN)

Definition at line 24 of file macros.h.

Referenced by pccomps().

#define NEXTSIDE ( side,
dir   ) 

Value:

((dir == CCW) ? \
                ((side & 0x8) ? BOTTOM : (side << 1)) : \
                ((side & 0x1) ? LEFT : (side >> 1)))

Definition at line 46 of file macros.h.

#define NOTUSED ( var   )     (void) var

Definition at line 21 of file macros.h.

#define OTHERDIR ( dir   )     ((dir == CCW) ? CW : CCW)

Definition at line 44 of file macros.h.

#define PAD (  )     {XPAD(d); YPAD(d);}

Definition at line 42 of file macros.h.

Referenced by do_graph_label(), and dotneato_postprocess().

#define SET_CLUST_EDGE (  )     (GD_flags(g) |= 1)

Definition at line 31 of file macros.h.

Referenced by processClusterEdges().

#define SET_CLUST_NODE (  )     (ND_clustnode(n) = TRUE)

Definition at line 28 of file macros.h.

#define SET_RANKDIR ( g,
rd   )     ((g)->u.rankdir = (rd))

Definition at line 34 of file macros.h.

Referenced by graph_init().

#define streq ( a,
 )     (*(a)==*(b)&&!strcmp(a,b))

Definition at line 37 of file macros.h.

Referenced by arrow_flags(), bind_shape(), find_user_shape(), getPackMode(), graph_init(), gvrender_set_style(), makePoly(), and maptoken().

#define XPAD (  )     ((d).x += 4*GAP)

Definition at line 40 of file macros.h.

#define YPAD (  )     ((d).y += 2*GAP)

Definition at line 41 of file macros.h.


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