*/
static void
makeFlatEnd (graph_t* g, spline_info_t* sp, path* P, node_t* n, edge_t* e, pathend_t* endp,
- boolean isBegin)
+ bool isBegin)
{
boxf b;
ydelta /= 6;
lb.LL.y = lb.UR.y - MAX(5,ydelta);
- makeFlatEnd (g, sp, P, tn, e, &tend, TRUE);
- makeFlatEnd (g, sp, P, hn, e, &hend, FALSE);
+ makeFlatEnd (g, sp, P, tn, e, &tend, true);
+ makeFlatEnd (g, sp, P, hn, e, &hend, false);
boxf boxes[] = {
{ .LL = { .x = tend.boxes[tend.boxn - 1].LL.x,
stepx = ((double)sp->Multisep) / (cnt+1);
stepy = vspace / (cnt+1);
- makeFlatEnd (g, sp, P, tn, e, &tend, TRUE);
- makeFlatEnd (g, sp, P, hn, e, &hend, FALSE);
+ makeFlatEnd (g, sp, P, tn, e, &tend, true);
+ makeFlatEnd (g, sp, P, hn, e, &hend, false);
for (i = 0; i < cnt; i++) {
boxf b;