/* beginpath:
* Set up boxes near the tail node.
- * For regular nodes, the result should be a list of continguous rectangles
- * such that the last one ends has the smallest LL.y and its LL.y is above
+ * For regular nodes, the result should be a list of contiguous rectangles
+ * such that the last one has the smallest LL.y and its LL.y is above
* the bottom of the rank (rank.ht1).
*
* For flat edges, we assume endp->sidemask has been set. For regular
b.LL.y = MIN(b.LL.y,P->start.p.y);
endp->boxes[0] = b;
endp->boxn = 1;
+ P->start.p.y += 1;
}
else if (side & BOTTOM) {
if (endp->sidemask == TOP) {
endp->boxes[0] = b;
endp->boxn = 1;
}
+ P->start.p.y -= 1;
}
else if (side & LEFT) {
b.UR.x = P->start.p.x+1;
}
endp->boxes[0] = b;
endp->boxn = 1;
+ P->start.p.x -= 1;
}
else {
b.LL.x = P->start.p.x;
}
endp->boxes[0] = b;
endp->boxn = 1;
+ P->start.p.x += 1;
}
for (orig = e; ED_edge_type(orig) != NORMAL; orig = ED_to_orig(orig));
if (n == agtail(orig))
b.LL.y = MIN(b.LL.y,P->end.p.y);
endp->boxes[0] = b;
endp->boxn = 1;
+ P->end.p.y += 1;
}
else if (side & BOTTOM) {
if (endp->sidemask == TOP) {
endp->boxes[0] = b;
endp->boxn = 1;
}
+ P->end.p.y -= 1;
}
else if (side & LEFT) {
b.UR.x = P->end.p.x+1;
}
endp->boxes[0] = b;
endp->boxn = 1;
+ P->end.p.x -= 1;
}
else {
b.LL.x = P->end.p.x-1;
}
endp->boxes[0] = b;
endp->boxn = 1;
+ P->end.p.x += 1;
}
for (orig = e; ED_edge_type(orig) != NORMAL; orig = ED_to_orig(orig));
if (n == aghead(orig))