From: yu.dongliang <18588496441@163.com> Date: Tue, 7 Nov 2023 06:32:23 +0000 (+0800) Subject: draw() X-Git-Url: http://baseworks.info/?a=commitdiff_plain;h=c11b9df1e335a2722cf28c5c9bf4687f530cd6af;p=ses.git draw() --- diff --git a/ses_layout.c b/ses_layout.c index 9574cea..91f2804 100644 --- a/ses_layout.c +++ b/ses_layout.c @@ -1448,7 +1448,7 @@ int ses_layout_draw(ScfEboard* b, uint32_t bx, uint32_t by, uint32_t bw, uint32_ cairo_set_source_rgb(cr, 1, 0, 1); else if (SCF_EDA_PIN_CF & el->flags) - cairo_set_source_rgb(cr, 1, 0.1, 0.8); + cairo_set_source_rgb(cr, 0.8, 0, 1.0); else cairo_set_source_rgb(cr, 1, 0.5, 0.1); diff --git a/ses_step_simplify.c b/ses_step_simplify.c index 732fca0..3c2aaac 100644 --- a/ses_step_simplify.c +++ b/ses_step_simplify.c @@ -54,7 +54,7 @@ static int _simplify_draw(ScfEfunction* f, uint32_t bx, uint32_t by, uint32_t bw cairo_set_source_rgb(cr, 0, 1, 0); else if (SCF_EDA_PIN_CF & el->flags) - cairo_set_source_rgb(cr, 1, 0.1, 0.8); + cairo_set_source_rgb(cr, 0.8, 0, 1.0); else cairo_set_source_rgb(cr, 1, 0.5, 0.1);