summaryrefslogtreecommitdiff
path: root/app/bin/dxfoutput.c
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2020-08-22 14:05:41 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2020-08-22 14:05:41 +0200
commitb55285a77da0e0b829e4ce8d7e09debaabc68e15 (patch)
treef622559ef65bbdd3e1c5bdb06098a8f89eec0563 /app/bin/dxfoutput.c
parentd3897ce090dbeb220ed2c782f095597e417cf3cc (diff)
parentd1ae75703e1ed81d65ea16946dcdb77e7a13adc9 (diff)
Merge branch 'feature/upstream' into develop
Diffstat (limited to 'app/bin/dxfoutput.c')
-rw-r--r--app/bin/dxfoutput.c16
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;
}