From 40e5a5811c6ffce9b0974e93cdd927cbcf60c157 Mon Sep 17 00:00:00 2001 From: Joe Hunkeler Date: Tue, 11 Aug 2015 16:51:37 -0400 Subject: Repatch (from linux) of OSX IRAF --- sys/gio/gks/gxgtx.x | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 sys/gio/gks/gxgtx.x (limited to 'sys/gio/gks/gxgtx.x') diff --git a/sys/gio/gks/gxgtx.x b/sys/gio/gks/gxgtx.x new file mode 100644 index 00000000..0ca39bb5 --- /dev/null +++ b/sys/gio/gks/gxgtx.x @@ -0,0 +1,22 @@ +# Copyright(c) 1986 Association of Universities for Research in Astronomy Inc. + +include +include "gks.h" + +# GXGTX -- Text. Ouptut an spp string with gtext. The string has already +# been unpacked from an f77 to spp string. + +procedure gxgtx (px, py, chars) + +real px, py # Text position in world coordinates +char chars[ARB] # String of characters + +int i +include "gks.com" + +begin + do i = 1, NDEV { + if (gk_status[i] == ACTIVE) + call gtext (gp[i], px, py, chars, "") + } +end -- cgit