summaryrefslogtreecommitdiffstats
path: root/tksao/widget/widget.C
diff options
context:
space:
mode:
Diffstat (limited to 'tksao/widget/widget.C')
-rw-r--r--tksao/widget/widget.C4
1 files changed, 4 insertions, 0 deletions
diff --git a/tksao/widget/widget.C b/tksao/widget/widget.C
index 5e0c917..456f30c 100644
--- a/tksao/widget/widget.C
+++ b/tksao/widget/widget.C
@@ -640,6 +640,10 @@ void Widget::warpTo(Vector& vv)
#endif
}
+Vector Widget::TkCanvasPs(const Vector& v) {
+ return Vector(v[0], Tk_CanvasPsY(canvas, v[1]));
+}
+
void Widget::psHead1(ostream& str, int width, int height)
{
switch (psColorSpace) {