summaryrefslogtreecommitdiff
path: root/fluid
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2005-03-21 05:02:05 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>2005-03-21 05:02:05 +0000
commit8a5eef29179d050da0e7f411ad699f4d2ffb2c08 (patch)
treeaa9b8aced0030fd7f27a0a28f72ffc229876fc6a /fluid
parentbcadb07bb287ce5d8a946e0d839d7edce8ba1cc5 (diff)
Fix minor printing glitch with simulated window borders.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4151 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'fluid')
-rw-r--r--fluid/fluid.cxx12
1 files changed, 3 insertions, 9 deletions
diff --git a/fluid/fluid.cxx b/fluid/fluid.cxx
index bcc15893e..76fd2845e 100644
--- a/fluid/fluid.cxx
+++ b/fluid/fluid.cxx
@@ -1085,19 +1085,13 @@ void print_cb(Fl_Return_Button *, void *) {
fprintf(outfile,
"newpath %.2f %.2f %.2f 180 90 arcn\n" // Top left
- "%.2f 0 rlineto\n" // Top
"%.2f %.2f %.2f 90 0 arcn\n" // Top right
- "0 -%.2f rlineto\n" // Right
"%.2f %.2f %.2f 0 -90 arcn\n" // Bottom right
- "-%.2f 0 rlineto\n" // Bottom
"%.2f %.2f %.2f -90 -180 arcn\n" // Bottom left
- "closepath fill\n", // Left + fill
- llx + 12 * border, ury, 16 * border,
- ww - 8 * border,
- urx - 12 * border, ury, 16 * border,
- hh,
+ "closepath fill\n", // Fill
+ llx, ury + 12 * border, 4 * border,
+ urx, ury + 12 * border, 4 * border,
urx, lly, 4 * border,
- ww - 4 * border,
llx, lly, 4 * border);
if (windows[winpage]->label()) {