ScfEboard* b = scf_eboard__unpack(NULL, len, pb);
- ses_layout_board(b, 0, 0, 25, 100);
+ ses_layout_board(b, 0, 0, 20, 100);
#if 0
size_t i;
size_t j;
return -ENOMEM;
l->x0 = bx;
- l->y0 = by + (n + j) * d;
- l->x1 = l->x0 + w;
+ l->y0 = by + (n + j) * d;
l->y1 = l->y0;
- scf_logi("i: %ld, el->id: %ld, j: %ld, n: %ld, y0: %d, w: %d\n", i, el->id, j, n, l->y0, w);
+ if (w > bw) {
+ l->x1 = l->x0 + bw;
+ w -= bw;
+ } else
+ l->x1 = l->x0 + w;
+
+ scf_logi("i: %ld, el->id: %ld, j: %ld, n: %ld, y0: %d, x1: %d\n", i, el->id, j, n, l->y0, l->x1);
if (scf_eline__add_line(el, l) < 0) {
free(l);