From c11b9df1e335a2722cf28c5c9bf4687f530cd6af Mon Sep 17 00:00:00 2001 From: "yu.dongliang" <18588496441@163.com> Date: Tue, 7 Nov 2023 14:32:23 +0800 Subject: [PATCH] draw() --- ses_layout.c | 2 +- ses_step_simplify.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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); -- 2.25.1