diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2020-08-08 11:53:00 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2020-08-08 11:53:00 +0200 |
commit | b623f5953691b2a0614e6f1f4def86bdbb9a4113 (patch) | |
tree | 18102bd36f7e22eb2ba2b9f880e4cb29346f4cb8 /app/bin/dxfoutput.c | |
parent | 359b557176b9bb2ff1aed2082641eed39c358d0d (diff) |
New upstream version 5.2.0Beta2.1upstream/5.2.0Beta2.1upstream
Diffstat (limited to 'app/bin/dxfoutput.c')
-rw-r--r-- | app/bin/dxfoutput.c | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/app/bin/dxfoutput.c b/app/bin/dxfoutput.c index 69c6df4..214f63c 100644 --- a/app/bin/dxfoutput.c +++ b/app/bin/dxfoutput.c @@ -135,15 +135,19 @@ static void DxfFillPoly( drawCmd_p d, int cnt, coOrd * pts, - wDrawColor color) + int * types, + wDrawColor color, + wDrawWidth width, + int fill, + int open ) { int inx; for (inx=1; inx<cnt; inx++) { - DxfLine(d, pts[inx-1], pts[inx], 0, color); + DxfLine(d, pts[inx-1], pts[inx], width, color); } - - DxfLine(d, pts[cnt-1], pts[0], 0, color); + if (!open) + DxfLine(d, pts[cnt-1], pts[0], width, color); } static void DxfFillCircle(drawCmd_p d, coOrd center, DIST_T radius, @@ -192,7 +196,7 @@ static int DoExportDXFTracks( } oldLocale = SaveLocale("C"); - wSetCursor(wCursorWait); + wSetCursor(mainD.d, wCursorWait); time(&clock); DxfPrologue(&command, 10, 0.0, 0.0, mapD.size.x, mapD.size.y); @@ -208,7 +212,7 @@ static int DoExportDXFTracks( fclose(dxfF); RestoreLocale(oldLocale); Reset(); - wSetCursor(wCursorNormal); + wSetCursor(mainD.d, defaultCursor); return TRUE; } |