* quadratic equation al^2 +bl + c, where a, b and
* c are defined below.
*/
-static int computeStep(int ng, boxf* bbs, int margin)
+static int computeStep(int ng, boxf* bbs, unsigned int margin)
{
double l1, l2;
double a, b, c, d, r;
* the graph.
*/
static void
-genBox(boxf bb0, ginfo * info, int ssize, int margin, point center, char* s)
+genBox(boxf bb0, ginfo * info, int ssize, unsigned int margin, point center,
+ char* s)
{
PointSet *ps;
int W, H;
int x, y;
int dx, dy;
graph_t *subg;
- int margin = pinfo->margin;
+ unsigned int margin = pinfo->margin;
int doSplines = pinfo->doSplines;
box bb;
*/
static void
placeGraph(int i, ginfo * info, PointSet * ps, point * place, int step,
- int margin, boxf* bbs)
+ unsigned int margin, boxf* bbs)
{
int x, y;
int W, H;
pinfo->margin = getPack(g, dfltMargin, dfltMargin);
if (Verbose) {
- fprintf (stderr, " margin %d\n", pinfo->margin);
+ fprintf (stderr, " margin %u\n", pinfo->margin);
}
pinfo->doSplines = 0;
pinfo->fixed = 0;