|
Graphviz
2.29.20120523.0446
|

Go to the source code of this file.
Data Structures | |
| struct | nitem |
| struct | info |
Defines | |
| #define | SCALE 10 |
| #define | SCALE2 (SCALE/2) |
| #define | overlap(pb, qb) |
Typedefs | |
| typedef struct nitem | nitem |
| typedef int(* | distfn )(box *, box *) |
| typedef int(* | intersectfn )(nitem *, nitem *) |
| typedef int(* | sortfn_t )(const void *, const void *) |
Functions | |
| int | cAdjust (graph_t *g, int mode) |
| int | scAdjust (graph_t *g, int equal) |
| #define overlap | ( | pb, | |
| qb | |||
| ) |
((pb.LL.x <= qb.UR.x) && (qb.LL.x <= pb.UR.x) && \
(pb.LL.y <= qb.UR.y) && (qb.LL.y <= pb.UR.y))
Definition at line 608 of file constraint.c.
| #define SCALE 10 |
Definition at line 23 of file constraint.c.
Referenced by cAdjust().
| #define SCALE2 (SCALE/2) |
Definition at line 24 of file constraint.c.
Definition at line 36 of file constraint.c.
| typedef int(* intersectfn)(nitem *, nitem *) |
Definition at line 37 of file constraint.c.
| typedef int(* sortfn_t)(const void *, const void *) |
Definition at line 768 of file constraint.c.
| int cAdjust | ( | graph_t * | g, |
| int | mode | ||
| ) |
Definition at line 694 of file constraint.c.
References agnnodes(), N_GNEW, sepFactor(), agfstnode(), agnxtnode(), AM_ORTHOXY, AM_ORTHOYX, AM_ORTHO, AM_ORTHO_YX, AM_PORTHOXY, AM_PORTHOYX, AM_PORTHO_YX, AM_PORTHO, nitem::np, nitem::pos, ND_pos, point::x, SCALE, point::y, and free().
Referenced by removeOverlapWith().
| int scAdjust | ( | graph_t * | g, |
| int | equal | ||
| ) |
Definition at line 929 of file constraint.c.
References agnnodes(), N_GNEW, sepFactor(), expand_t::doAdd, expand_t::x, expand_t::y, agfstnode(), agnxtnode(), ND_width, ND_height, info::pos, pointf_s::x, ND_pos, pointf_s::y, info::bb, boxf::LL, boxf::UR, info::wd2, info::ht2, info::np, and free().
Referenced by removeOverlapWith().
1.7.5