ScfEboard* b = scf_eboard__unpack(NULL, len, pb);
ses_layout_board(b, 0, 0, 500, 500);
-#if 1
+#if 0
size_t i;
size_t j;
size_t k;
p0->x = el0->lines[0]->x0;
p1->x = el1->lines[0]->x0;
} else {
- p0->x = el0->lines[0]->x1 + j * d;
- p1->x = el1->lines[0]->x1 + j * d;
+ p0->x = el0->lines[0]->x1 + j * d + rand() % 10;
+ p1->x = el1->lines[0]->x1 + j * d + rand() % 10;
- el0->lines[0]->x1 += j * d;
- el1->lines[0]->x1 += j * d;
+ el0->lines[0]->x1 += j * d + 10;
+ el1->lines[0]->x1 += j * d + 10;
}
p0->y = el0->lines[0]->y0;
if (SCF_EDA_Battery == c->type)
p0->x = el0->lines[0]->x0;
else {
- p0->x = el0->lines[0]->x1 + d;
- el0->lines[0]->x1 += d;
+ p0->x = el0->lines[0]->x1 + d + rand() % 10;
+ el0->lines[0]->x1 += d + 10;
}
p0->y = el0->lines[0]->y1;