summaryrefslogtreecommitdiffstats
path: root/tksao/frame/basebox.C
diff options
context:
space:
mode:
Diffstat (limited to 'tksao/frame/basebox.C')
-rw-r--r--tksao/frame/basebox.C8
1 files changed, 4 insertions, 4 deletions
diff --git a/tksao/frame/basebox.C b/tksao/frame/basebox.C
index 3e51de3..79cb2ae 100644
--- a/tksao/frame/basebox.C
+++ b/tksao/frame/basebox.C
@@ -79,9 +79,9 @@ void BaseBox::renderPSDraw(int ii)
Vector v = parent->mapFromRef(vertices_[ii][jj],Coord::CANVAS);
if (jj==0)
str << "newpath "
- << v.TkCanvasPs(parent->canvas) << " moveto" << endl;
+ << parent->TkCanvasPs(v) << " moveto" << endl;
else
- str << v.TkCanvasPs(parent->canvas) << " lineto" << endl;
+ str << parent->TkCanvasPs(v) << " lineto" << endl;
}
str << "stroke" << endl << ends;
Tcl_AppendResult(parent->interp, str.str().c_str(), NULL);
@@ -94,9 +94,9 @@ void BaseBox::renderPSFillDraw(int ii)
Vector v = parent->mapFromRef(vertices_[ii][jj],Coord::CANVAS);
if (jj==0)
str << "newpath "
- << v.TkCanvasPs(parent->canvas) << " moveto" << endl;
+ << parent->TkCanvasPs(v) << " moveto" << endl;
else
- str << v.TkCanvasPs(parent->canvas) << " lineto" << endl;
+ str << parent->TkCanvasPs(v) << " lineto" << endl;
}
str << "fill" << endl << ends;
Tcl_AppendResult(parent->interp, str.str().c_str(), NULL);