draw()
authoryu.dongliang <18588496441@163.com>
Tue, 7 Nov 2023 06:32:23 +0000 (14:32 +0800)
committeryu.dongliang <18588496441@163.com>
Tue, 7 Nov 2023 06:32:23 +0000 (14:32 +0800)
ses_layout.c
ses_step_simplify.c

index 9574ceaadcf33a69fa7f1f5c4d6c681bc2bedb83..91f2804b17264c6f4ada70585e2f22a6dc510cce 100644 (file)
@@ -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);
 
index 732fca0dd10b8bd004c00707fbdfd11b9952ef88..3c2aaac1270680948d7d7c2e7d2339748d3071e0 100644 (file)
@@ -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);