diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2020-08-08 11:53:12 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2020-08-08 11:53:12 +0200 |
commit | e50482f994b6ebcce864a412111d376e99205cdb (patch) | |
tree | ff3192c6aaf213c4922521bed988e4ed4147f537 /app/bin/dxfoutput.c | |
parent | d3897ce090dbeb220ed2c782f095597e417cf3cc (diff) | |
parent | b623f5953691b2a0614e6f1f4def86bdbb9a4113 (diff) |
Update upstream source from tag 'upstream/5.2.0Beta2.1'
Update to upstream version '5.2.0Beta2.1'
with Debian dir 1576f25f4c1496abfed44af31ead67d32c7be650
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; } |