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
@@ -571,6 +571,12 @@ void PS_PLOTTER::SetDash( PLOT_DASH_TYPE dashed )
(int) GetDashMarkLenIU(), (int) GetDashGapLenIU(),
(int) GetDotMarkLenIU(), (int) GetDashGapLenIU() );
break;
case PLOT_DASH_TYPE::DASHDOTDOT:
fprintf( m_outputFile, "[%d %d %d %d %d %d] 0 setdash\n",
(int) GetDashMarkLenIU(), (int) GetDashGapLenIU(),
(int) GetDotMarkLenIU(), (int) GetDashGapLenIU(),
(int) GetDotMarkLenIU(), (int) GetDashGapLenIU() );
break;
default:
fputs( "solidline\n", m_outputFile );
}