aboutsummaryrefslogtreecommitdiff
path: root/sys/gio/gks/gtx.f
diff options
context:
space:
mode:
authorJoe Hunkeler <jhunkeler@gmail.com>2015-08-11 16:51:37 -0400
committerJoe Hunkeler <jhunkeler@gmail.com>2015-08-11 16:51:37 -0400
commit40e5a5811c6ffce9b0974e93cdd927cbcf60c157 (patch)
tree4464880c571602d54f6ae114729bf62a89518057 /sys/gio/gks/gtx.f
downloadiraf-osx-40e5a5811c6ffce9b0974e93cdd927cbcf60c157.tar.gz
Repatch (from linux) of OSX IRAF
Diffstat (limited to 'sys/gio/gks/gtx.f')
-rw-r--r--sys/gio/gks/gtx.f16
1 files changed, 16 insertions, 0 deletions
diff --git a/sys/gio/gks/gtx.f b/sys/gio/gks/gtx.f
new file mode 100644
index 00000000..c09ef7c4
--- /dev/null
+++ b/sys/gio/gks/gtx.f
@@ -0,0 +1,16 @@
+c GTX -- Text. Unpack an f77 string and call gx_gtx to output the string.
+c
+ subroutine gtx (px, py, f77chars)
+c
+ real px, py
+ character*(*) f77chars
+ integer*2 sppchars(161)
+c
+c
+c Unpack characters from packed input array
+c
+ call f77upk (f77chars, sppchars, min (len(f77chars), 161))
+ call gxgtx (px, py, sppchars)
+c
+c
+ end