summaryrefslogtreecommitdiff
path: root/app/bin/dxfoutput.c
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2020-08-24 21:26:53 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2020-08-24 21:26:53 +0200
commitdf247efec654e512242e4f4f1b0212034f9e01fe (patch)
tree25c02e16957f3aa613af30c140fd8e8a3d52fda6 /app/bin/dxfoutput.c
parentd0b6a8a4ec298024f14f704f9e40a6f9d324ccf3 (diff)
parenta5ade52caa489cf0a713e0f02b764000d203140e (diff)
Merge branch 'release/debian/1%5.2.0Beta2.1-1' into masterHEADdebian/1%5.2.0Beta2.1-1master
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;
}