From: yu.dongliang <18588496441@163.com> Date: Tue, 7 Nov 2023 13:10:27 +0000 (+0800) Subject: tmp X-Git-Url: http://baseworks.info/?a=commitdiff_plain;h=aff582ed6741b2947eb5753535083b5f8222bfd5;p=ses.git tmp --- diff --git a/ses_layout.c b/ses_layout.c index 91f2804..a5f0074 100644 --- a/ses_layout.c +++ b/ses_layout.c @@ -1337,9 +1337,15 @@ int ses_layout_function(ScfEfunction* f, int d) f->w = 0; f->h = 0; + scf_vector_t* paths = scf_vector_alloc(); + + int ret = __ses_topo_paths(f, paths); + if (ret < 0) + return ret; + qsort(f->elines, f->n_elines, sizeof(ScfEline*), eline_cmp); - int ret = __ses_layout_lines(f, d); + ret = __ses_layout_lines(f, d); if (ret < 0) return ret; @@ -1720,7 +1726,7 @@ int ses_layout_board(ScfEboard* b) return ret; } - ses_steps_analyse(f, 5, 1); +// ses_steps_analyse(f, 5, 1); x = f->x; y = f->y;