diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2015-07-08 20:46:52 -0400 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2015-07-08 20:46:52 -0400 |
commit | fa080de7afc95aa1c19a6e6fc0e0708ced2eadc4 (patch) | |
tree | bdda434976bc09c864f2e4fa6f16ba1952b1e555 /sys/gio/gks/gqmk.x | |
download | iraf-linux-fa080de7afc95aa1c19a6e6fc0e0708ced2eadc4.tar.gz |
Initial commit
Diffstat (limited to 'sys/gio/gks/gqmk.x')
-rw-r--r-- | sys/gio/gks/gqmk.x | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/sys/gio/gks/gqmk.x b/sys/gio/gks/gqmk.x new file mode 100644 index 00000000..0e90fbe7 --- /dev/null +++ b/sys/gio/gks/gqmk.x @@ -0,0 +1,31 @@ +# Copyright(c) 1986 Association of Universities for Research in Astronomy Inc. + +include <gset.h> +include "gks.h" + +# GQMK -- Query marker type. Integer variable "marker" is read from +# "gks.com" and returned. + +procedure gqmk (ierr, mtype) + +int ierr # Error indicator - no way it can be set +int mtype # Marker type for polymarker +include "gks.com" + +begin + ierr = 0 + switch (gk_marker) { + case GM_POINT: + mtype = GPOINT + case GM_PLUS: + mtype = GPLUS + case GM_BOX: + mtype = GAST + case GM_DIAMOND: + mtype = GOMARK + case GM_CROSS: + mtype = GXMARK + default: + mtype = GPOINT + } +end |