User-configureable dash styles (and dash-dot-dot).

ADDED: Schematic Setup properties for dash length and gap length.
ADDED: dash-dot-dot line style

Fixes https://gitlab.com/kicad/code/kicad/issues/2206
This commit is contained in:
Jeff Young
2021-12-23 20:36:24 +00:00
parent e26341d424
commit 295a6408c3
29 changed files with 767 additions and 121 deletions
+6
View File
@@ -184,6 +184,12 @@ void PDF_PLOTTER::SetDash( PLOT_DASH_TYPE dashed )
(int) GetDashMarkLenIU(), (int) GetDashGapLenIU(),
(int) GetDotMarkLenIU(), (int) GetDashGapLenIU() );
break;
case PLOT_DASH_TYPE::DASHDOTDOT:
fprintf( workFile, "[%d %d %d %d %d %d] 0 d\n",
(int) GetDashMarkLenIU(), (int) GetDashGapLenIU(),
(int) GetDotMarkLenIU(), (int) GetDashGapLenIU(),
(int) GetDotMarkLenIU(), (int) GetDashGapLenIU() );
break;
default:
fputs( "[] 0 d\n", workFile );
}